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

Inheritance

object ← AssemblyManagerAPI

Extension Methods

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

Methods

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

Apply assembly bearing.

Parameters

document GearTrainDocument The GearTrainDocument for assembly bearing apply. If null, the active document will be used. referenceBody Obj The reference body. The type is IConnectable. bearingInfo IEnumerable<BearingInformationInAssemblyManager> The bearing information. If it is not given, default values will be used.. cycloidPinInfo IEnumerable<CycloidPinInformationInAssemblyManager> The cycloid information. If it is not given, default values will be used..

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘referenceBody’ arguments are empty. ArgumentNullException Will be thrown if type of ‘referenceBody’ is not IConnectable.

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

Apply assembly IO shaft.

Parameters

document GearTrainDocument The GearTrainDocument for assembly IO shaft apply. If null, the active document will be used. referenceBody Obj The reference body. The type is IConnectable. referenceVector Vector The reference vector. inputInfo IEnumerable<ShaftInformationInAssemblyManager> The input information. If it is not given, default values will be used. outputInfo IEnumerable<ShaftInformationInAssemblyManager> The output information. If it is not given, default values will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘referenceBody’ arguments are empty. ArgumentException Will be thrown if the magnitude of ‘referenceVector’ is 0. ArgumentException Will be thrown if type of ‘referenceBody’ is not IConnectable. ArgumentException Will be thrown if type of ‘inputInfo’ is not (IPowerLoad, IConnectable). ArgumentException Will be thrown if type of ‘outputInfo’ is not (IPowerLoad, IConnectable).

ApplyPowerFlow(GearTrainDocument, PowerFlowParameters?)

Apply power flow.

Parameters

document GearTrainDocument The GearTrainDocument for power apply. If null, the active document will be used. powerFlowParameters PowerFlowParameters? The power flow parameters. If it is not given, default values will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘powerFlow’ arguments are empty.

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

Apply request.

Parameters

document GearTrainDocument The GearTrainDocument for request apply. If null, the active document will be used. gearsetForceDisplay IEnumerable<bool> The flags whether using force display of gearset. requestParameters RequestParameters? The request parameters. If it is not given, default values will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘request’ arguments are empty.

SimulateInAssemblyManager(GearTrainDocument)

Simulate in assembly manager.

Parameters

doc GearTrainDocument The GearTrainDocument for simulate. If null, the active document will be used.

UpdateAssemblyManager(GearTrainDocument)

Update assembly manager.

Parameters

doc GearTrainDocument The GearTrainDocument for assembly manager update. If null, the active document will be used.