Class AssemblyManagerAPI
Last update: 16.07.2025Namespace: VM.API.Pre.GearTrain
Assembly: VM.API.Pre.GearTrain.dll
This class implements APIs for
public static class AssemblyManagerAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Methods
ApplyAssemblyBearing(GearTrainDocument, Obj, IEnumerable, IEnumerable)
Apply assembly bearing.
[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
referenceBody Obj
The reference body. The type is
bearingInfo IEnumerableBearingInformationInAssemblyManager>
The bearing information. If it is not given, default values will be used..
cycloidPinInfo IEnumerableCycloidPinInformationInAssemblyManager>
The cycloid information. If it is not given, default values will be used..
Exceptions
Will be thrown if 'document' or 'referenceBody' arguments are empty.
Will be thrown if type of 'referenceBody' is not
ApplyAssemblyIOShaft(GearTrainDocument, Obj, Vector, IEnumerable, IEnumerable)
Apply assembly IO shaft.
[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
referenceBody Obj
The reference body. The type is
referenceVector Vector
The reference vector.
inputInfo IEnumerableShaftInformationInAssemblyManager>
The input information. If it is not given, default values will be used.
outputInfo IEnumerableShaftInformationInAssemblyManager>
The output information. If it is not given, default values will be used.
Exceptions
Will be thrown if 'document' or 'referenceBody' arguments are empty.
Will be thrown if the magnitude of 'referenceVector' is 0.
Will be thrown if type of 'referenceBody' is not
Will be thrown if type of 'inputInfo' is not (
Will be thrown if type of 'outputInfo' is not (
ApplyPowerFlow(GearTrainDocument, PowerFlowParameters?)
Apply power flow.
[NotNull(new string[] { "document" })]
public static void ApplyPowerFlow(this GearTrainDocument document, PowerFlowParameters? powerFlowParameters = null)
Parameters
document GearTrainDocument
The
powerFlowParameters PowerFlowParameters?
The power flow parameters. If it is not given, default values will be used.
Exceptions
Will be thrown if 'document' or 'powerFlow' arguments are empty.
ApplyRequest(GearTrainDocument, IEnumerable, RequestParameters?)
Apply request.
[NotNull(new string[] { "document" })]
public static void ApplyRequest(this GearTrainDocument document, IEnumerable<bool> gearsetForceDisplay, RequestParameters? requestParameters = null)
Parameters
document GearTrainDocument
The
gearsetForceDisplay IEnumerablebool>
The flags whether using force display of gearset.
requestParameters RequestParameters?
The request parameters. If it is not given, default values will be used.
Exceptions
Will be thrown if 'document' or 'request' arguments are empty.
SimulateInAssemblyManager(GearTrainDocument)
Simulate in assembly manager.
[NotNull(new string[] { "doc" })]
public static void SimulateInAssemblyManager(this GearTrainDocument doc)
Parameters
doc GearTrainDocument
The
UpdateAssemblyManager(GearTrainDocument)
Update assembly manager.
[NotNull(new string[] { "doc" })]
public static void UpdateAssemblyManager(this GearTrainDocument doc)
Parameters
doc GearTrainDocument
The