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

Inheritance

object ← BodyToDTAPI

Extension Methods

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

Methods

ApplyBearingForBodyToDT(GearTrainDocument, IEnumerable<BearingParameters>)

Create Bearing.

Parameters

document GearTrainDocument The document to create the bearings. bearings IEnumerable<BearingParameters> The bearings.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of bearing is empty.

ApplyClutchForBodyToDT(GearTrainDocument, IEnumerable<ClutchParameters>)

Create AttributeBodyToDTClutch.

Parameters

document GearTrainDocument The document to create the clutchs. clutchs IEnumerable<ClutchParameters> The clutchs.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of clutch is empty.

ApplyGearSetForBodyToDT(GearTrainDocument, IEnumerable<GearSetParameters>)

Create GearSet.

Parameters

document GearTrainDocument The document to create the gear set. gearSets IEnumerable<GearSetParameters> The gear sets.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of gearSet is empty.

ApplyHousingForBodyToDT(GearTrainDocument, IEnumerable<HousingParameters>)

Create IHousing.

Parameters

document GearTrainDocument The document to create the housings. housings IEnumerable<HousingParameters> The housings.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of housing is empty.

ApplyShaftSetForBodyToDT(GearTrainDocument, IEnumerable<ShaftSetParameters>)

Create ShaftSet.

Parameters

document GearTrainDocument The document to create the simple shaft set. shaftSets IEnumerable<ShaftSetParameters> The simple shaft sets

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of shaftset does not exist. ArgumentException Will be thrown if the magnitude of ‘rotateAxis’ is 0. ArgumentOutOfRangeException Will be thrown if ‘width’ value equal to or less than 0.

AssembleItemsForBodyToDT(GearTrainDocument, IEnumerable<GearSetParameters>, IEnumerable<BearingParameters>, ExpressionValueVariable?)

Assemble the items for the body to DT.

Parameters

document GearTrainDocument The document to assemble the items for the body to DT. gearSets IEnumerable<GearSetParameters> The gear sets. bearings IEnumerable<BearingParameters> The bearings. toleranceForAssembly ExpressionValueVariable? The tolerance for assembly.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty or if the body of ‘gearSet’, ‘bearing’ is empty.

RemoveBodyToDTAttribute(GearTrainDocument, IEnumerable<Obj>)

Remove AttributeBodyToDTClutch.

Parameters

document GearTrainDocument The document to create the clutchs. clutchs IEnumerable<Obj> The clutchs.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘clutchs’ argument is empty.