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 will be 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.