    

 ## On this page

  

 

 # Class AssembledBodyAPI

 Last update: 16.07.2025 

Namespace: [VM.API.Pre](VM.API.Pre.md)  
Assembly: VM.API.Pre.dll

This class implements APIs for  class.

```csharp
public static class AssembledBodyAPI

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [AssembledBodyAPI](VM.API.Pre.AssembledBodyAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### CreateAssembledBody(SubSystemDocument, string, TMatrix, string)

Create .

```csharp
[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](https://learn.microsoft.com/dotnet/api/system.string)

The file path of imported part document

`transform` TMatrix

The transformation matrix for a assembled body.

`bodyName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name of the body. If empty, default name starts with 'ABD\_' will be generated and used.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

Will be thrown if 'document' or 'transform' or 'partFilePath' arguments are empty.

[FileNotFoundException](https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception)

Will be thrown if 'partFilePath' does not exist.

### CreateAssembledBody(SubSystemDocument, string)

Create .

```csharp
public static Obj CreateAssembledBody(this SubSystemDocument doc, string partFilePath)

```

#### Parameters

`doc` SubSystemDocument

The document to create the assembled body.

`partFilePath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The file path of imported part document

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.