> ## 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 AssemblyManagerAPI

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

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

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

#### Inheritance

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

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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-r1/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-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### ApplyAssemblyBearing(GearTrainDocument, Obj, IEnumerable\<BearingInformationInAssemblyManager>, IEnumerable\<CycloidPinInformationInAssemblyManager>)

Apply assembly bearing.

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "referenceBody" })]
[MatchTypeObj(new object[] { "referenceBody", typeof(IConnectable) })]
public static void ApplyAssemblyBearing(this GearTrainDocument document, Obj referenceBody, IEnumerable<BearingInformationInAssemblyManager> bearingInfo = null, IEnumerable<CycloidPinInformationInAssemblyManager> cycloidPinInfo = null)
```

#### Parameters

`document` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for assembly bearing apply. If null, the active document will be used.

`referenceBody` Obj

The reference body. The type is [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md).

`bearingInfo` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[BearingInformationInAssemblyManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.BearingInformationInAssemblyManager.md)>

The bearing information. If it is not given, default values will be used..

`cycloidPinInfo` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[CycloidPinInformationInAssemblyManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.CycloidPinInformationInAssemblyManager.md)>

The cycloid information. If it is not given, default values will be used..

#### Exceptions

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

Will be thrown if 'document' or 'referenceBody' arguments are empty.

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

Will be thrown if type of 'referenceBody' is not [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md).

### ApplyAssemblyIOShaft(GearTrainDocument, Obj, Vector, IEnumerable\<ShaftInformationInAssemblyManager>, IEnumerable\<ShaftInformationInAssemblyManager>)

Apply assembly IO shaft.

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "referenceBody" })]
[NotZeroMagnitude(new string[] { "referenceVector" })]
[MatchTypeObj(new object[] { "referenceBody", typeof(IConnectable) })]
public static void ApplyAssemblyIOShaft(this GearTrainDocument document, Obj referenceBody, Vector referenceVector, IEnumerable<ShaftInformationInAssemblyManager> inputInfo = null, IEnumerable<ShaftInformationInAssemblyManager> outputInfo = null)
```

#### Parameters

`document` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for assembly IO shaft apply. If null, the active document will be used.

`referenceBody` Obj

The reference body. The type is [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md).

`referenceVector` Vector

The reference vector.

`inputInfo` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[ShaftInformationInAssemblyManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.ShaftInformationInAssemblyManager.md)>

The input information. If it is not given, default values will be used.

`outputInfo` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[ShaftInformationInAssemblyManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.ShaftInformationInAssemblyManager.md)>

The output information. If it is not given, default values will be used.

#### Exceptions

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

Will be thrown if 'document' or 'referenceBody' arguments are empty.

[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception)

Will be thrown if the magnitude of 'referenceVector' is 0.

[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception)

Will be thrown if type of 'referenceBody' is not [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md).

[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception)

Will be thrown if type of 'inputInfo' is not ([IPowerLoad](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.IPowerLoad.md), [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md)).

[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception)

Will be thrown if type of 'outputInfo' is not ([IPowerLoad](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.IPowerLoad.md), [IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.IConnectable.md)).

### ApplyPowerFlow(GearTrainDocument, PowerFlowParameters?)

Apply power flow.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void ApplyPowerFlow(this GearTrainDocument document, PowerFlowParameters? powerFlowParameters = null)
```

#### Parameters

`document` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for power apply. If null, the active document will be used.

`powerFlowParameters` [PowerFlowParameters](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.PowerFlowParameters.md)?

The power flow parameters. If it is not given, default values will be used.

#### Exceptions

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

Will be thrown if 'document' or 'powerFlow' arguments are empty.

### ApplyRequest(GearTrainDocument, IEnumerable\<bool>, RequestParameters?)

Apply request.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void ApplyRequest(this GearTrainDocument document, IEnumerable<bool> gearsetForceDisplay, RequestParameters? requestParameters = null)
```

#### Parameters

`document` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for request apply. If null, the active document will be used.

`gearsetForceDisplay` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[bool](https://learn.microsoft.com/dotnet/api/system.boolean)>

The flags whether using force display of gearset.

`requestParameters` [RequestParameters](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.GearTrain.RequestParameters.md)?

The request parameters. If it is not given, default values will be used.

#### Exceptions

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

Will be thrown if 'document' or 'request' arguments are empty.

### SimulateInAssemblyManager(GearTrainDocument)

Simulate in assembly manager.

```csharp theme={null}
[NotNull(new string[] { "doc" })]
public static void SimulateInAssemblyManager(this GearTrainDocument doc)
```

#### Parameters

`doc` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for simulate. If null, the active document will be used.

### UpdateAssemblyManager(GearTrainDocument)

Update assembly manager.

```csharp theme={null}
[NotNull(new string[] { "doc" })]
public static void UpdateAssemblyManager(this GearTrainDocument doc)
```

#### Parameters

`doc` GearTrainDocument

The [GearTrainDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearTrainDocument.md) for assembly manager update. If null, the active document will be used.
