GetComponentSchema As Long - Integration - Update 46 - Help - Hexagon

SmartPlant Integration .NET Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

This method returns the SmartPlant component schema in an XML file for a given component schema UID. The calling function passes the unique ID of the component schema and the absolute path of the file where the component schema is saved.

Arguments

Name

Data type

Input/output

Description

sCompSchemaUID

String (maximum 128 characters)

Input

Unique ID of the component schema.

sCompSchemaFile

String (maximum 260 characters)

Input/Output

Absolute path of the file where the component schema will be saved.

Return Value

  • 0 if method is successful.

  • A negative number if method fails (check the LastErrorMessage property for error message).

Comments

This method has been added at the request of the Smart Instrumentation group.