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

Inheritance

object ← MotorDesignAPI

Extension Methods

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

Methods

CreateMotorDesigner(GearTrainDocument, Vector, Vector, HousingType, StatorMountingType, string)

Create MotorDesigner.

Parameters

document GearTrainDocument The document to create the MotorDesigner.. position Vector The position of the motor designer. rotateAxis Vector The rotate axis of the motor designer. housingType MotorDesigner.HousingType The housing type of the motor designer. statorMountingType MotorDesigner.StatorMountingType The stator mounting type of the motor designer. name string The name of the motor designer.

Returns

Obj the new MotorDesigner object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if the magnitude of ‘rotateAxis’ is 0.