> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class AssembledBodyAPI

Namespace: [VM.API.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre)\
Assembly: VM.API.Pre.dll

This class implements APIs for [AssembledBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.AssembledBody.md) class.

```csharp theme={null}
public static class AssembledBodyAPI
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[AssembledBodyAPI](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.AssembledBodyAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/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 [SubSystemDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.SubSystemDocument.md).

```csharp theme={null}
[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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)

The new [AssembledBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.AssembledBody.md) 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 [AssembledBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.AssembledBody.md).

```csharp theme={null}
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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Obj.md)

The new [AssembledBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.AssembledBody.md) object that is created by this API.
