Class AssembledBodyAPI
Last update: 16.07.2025Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for
public static class AssembledBodyAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CreateAssembledBody(SubSystemDocument, string, TMatrix, string)
Create
[NotNull(new string[] { "document", "transform" })]
[ExistFile(new string[] { "partFilePath" })]
public static Obj CreateAssembledBody(this SubSystemDocument document, string partFilePath, TMatrix transform, string bodyName = "")
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
The new
Exceptions
Will be thrown if 'document' or 'transform' or 'partFilePath' arguments are empty.
Will be thrown if 'partFilePath' does not exist.
CreateAssembledBody(SubSystemDocument, string)
Create
public static Obj CreateAssembledBody(this SubSystemDocument doc, string partFilePath)
Parameters
doc SubSystemDocument
The document to create the assembled body.
partFilePath string
The file path of imported part document
Returns
The new