Skip to main content
Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for AssembledBody class.

Inheritance

object ← AssembledBodyAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

CreateAssembledBody(SubSystemDocument, string, TMatrix, string)

Create SubSystemDocument.

Parameters

document SubSystemDocument The document to create the assembled body. partFilePath string The file path of imported part document transform TMatrix The transformation matrix for a assembled body. bodyName string The name of the body. If empty, default name starts with ‘ABD_’ will be generated and used.

Returns

Obj The new AssembledBody object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘transform’ or ‘partFilePath’ arguments are empty. FileNotFoundException Will be thrown if ‘partFilePath’ does not exist.

CreateAssembledBody(SubSystemDocument, string)

Create AssembledBody.

Parameters

doc SubSystemDocument The document to create the assembled body. partFilePath string The file path of imported part document

Returns

Obj The new AssembledBody object that is created by this API.