Assembly: VM.API.Pre.dll This class implements APIs for subsystem.
Inheritance
object ← SubsystemAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateSubSystem(Document, string, TMatrix, string)
Create SubSystem.Parameters
document Document
The document to create the subsystem.
subsystemFilePath string
The file path of imported subsystem document
transform TMatrix
The transformation matrix for a subsystem.
subsystemName string
The name of the subsystem. If empty, default name starts with ‘SubSystem_’ will be generated and used.
Returns
Obj The new SubSystem object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘subsystemFilePath’ arguments are empty. FileNotFoundException Will be thrown if ‘subsystemFilePath’ does not exist.CreateSubSystem(Document, string)
Create AssembledBody.Parameters
document Document
The document to create the subsystem.
subsystemFilePath string
The file path of imported subsystem document