Assembly: VM.API.Pre.GearTrain.dll This class implements APIs for ShaftSet, ShaftSetFE and ShaftSetMeshFree class.
Inheritance
object ← ShaftSetAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
AddBearingToRBEInEFEntity(HiddenDocumentMeshFreeBase, string, string, Vector, Obj, ClearanceParameters?)
Add bearing to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add bearing.
bearingName string
The bearing name.
racewayName string
The raceway name.
direction Vector
The z-axis.
connectable Obj
The start rbe. The type is IConnectable
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearingName’ or ‘racewayName’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddBearingToRBEInEFEntity(HiddenDocumentMeshFreeBase, Obj, RacewayType, Vector, Obj, ClearanceParameters?)
Add bearing to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add bearing.
bearing Obj
The bearing. The type is Bearing.
racewayType RacewayGeometryInfo.RacewayType
The raceway type.
direction Vector
The z-axis.
connectable Obj
The start rbe. The type is IConnectable.
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearing’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘bearing’ is not Bearing. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddBearingToRBEInFEEntity(HiddenDocumentFEBase, string, string, Vector, Obj, ClearanceParameters?)
Add bearing to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add bearing.
bearingName string
The bearing name.
racewayName string
The raceway name.
direction Vector
The z-axis.
connectable Obj
The start rbe. The type is IConnectable
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearingName’ or ‘racewayName’ or ‘connectable’ arguments are empty. ArgumentNullException Will be thrown if magnitude of ‘direction’ is zero. ArgumentNullException Will be thrown if type of ‘connectable’ is not IConnectable.AddBearingToRBEInFEEntity(HiddenDocumentFEBase, Obj, RacewayType, Vector, Obj, ClearanceParameters?)
Add bearing to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add bearing.
bearing Obj
The bearing. The type is Bearing.
racewayType RacewayGeometryInfo.RacewayType
The raceway type.
direction Vector
The z-axis.
connectable Obj
The start rbe. The type is IConnectable
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearing’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘bearing’ is not Bearing. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddBearingToShaftset(HiddenShaftSetDocument, string, string, ExpressionValueVariable?, AttachLocationType, DirectionType, ClearanceParameters?)
Add bearing to shaftset.Parameters
document HiddenShaftSetDocument
The document to add bearing.
bearingName string
The bearing name.
racewayName string
The raceway name.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
direction DirectionType
The direction type. The default value is Forward
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearingName’ or ‘racewayName’ arguments are empty.AddBearingToShaftset(HiddenShaftSetDocument, Obj, RacewayType, ExpressionValueVariable?, AttachLocationType, DirectionType, ClearanceParameters?)
Add bearing to shaftset.Parameters
document HiddenShaftSetDocument
The document to add bearing.
bearing Obj
The bearing. The type is Bearing.
racewayType RacewayGeometryInfo.RacewayType
The raceway type.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
direction DirectionType
The direction type. The default value is Forward
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘bearing’ arguments are empty. ArgumentException Will be thrown if type of ‘bearing’ is not Bearing.AddGearToRBEInEFEntity(HiddenDocumentMeshFreeBase, string, string, Vector, Obj, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add gear.
gearSetName string
The gear set name.
gearName string
The gear name.
direction Vector
The z-axis.
connectable Obj
The rbe. The type is IConnectable
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left.
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0.
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left.
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddGearToRBEInEFEntity(HiddenDocumentMeshFreeBase, Obj, int, Vector, Obj, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add gear.
gearset Obj
The gear set. The type is IGearSet.
gearIndex int
The gear index. The value is zero base.
direction Vector
The z-axis.
connectable Obj
The rbe. The type is IConnectable
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left.
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0.
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left.
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘gearset’ is not IGearSet. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddGearToRBEInFEEntity(HiddenDocumentFEBase, string, string, Vector, Obj, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add gear.
gearSetName string
The gear set name.
gearName string
The gear name.
direction Vector
The z-axis.
connectable Obj
The rbe. The type is IConnectable
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft.The default value is Left.
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0.
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left.
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddGearToRBEInFEEntity(HiddenDocumentFEBase, Obj, int, Vector, Obj, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add gear.
gearset Obj
The gear set. The type is IGearSet.
gearIndex int
The gear index. The value is zero base.
direction Vector
The z-axis.
connectable Obj
The rbe. The type is IConnectable
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft.The default value is Left.
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0.
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left.
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘gearset’ is not IGearSet. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddGearToShaftset(HiddenShaftSetDocument, string, string, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to shaftset.Parameters
document HiddenShaftSetDocument
The document to add gear.
gearSetName string
The gear set name.
gearName string
The gear name.
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ arguments are empty.AddGearToShaftset(HiddenShaftSetDocument, Obj, int, ShaftAttachType, ExpressionValueVariable?, AttachLocationType, Obj?, RacewayType, ExpressionValueVariable?, AttachLocationType, ClearanceParameters?)
Add gear to shaftset.Parameters
document HiddenShaftSetDocument
The document to add gear.
gearSet Obj
The gear set. The type is IGearSet.
gearIndex int
The gear index. The value is zero base.
shaftAttach ShaftAttachType
The attach type. The default value is Shaft.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
bearing Obj?
The bearing.
racewayType RacewayGeometryInfo.RacewayType
The bearing raceway type.
bearingOffset ExpressionValueVariable?
The offset when attached to bearing. The default value is 0.0
bearingLocation AttachLocationType
The location when attached to bearing. The default value is Left
clearanceParameters ClearanceParameters?
The clearance parameter. If it is not given, default values will be used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSet’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if type of ‘gearset’ is not IGearSet.AddRackToRBEInEFEntity(HiddenDocumentMeshFreeBase, string, string, Vector, Obj, Obj, bool, bool, ExpressionValueVariable?)
Add rack to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add gear.
gearSetName string
The gear set name.
gearName string
The gear name.
direction Vector
The z-axis.
connectableStart Obj
The start rbe. The type is IConnectable
connectableEnd Obj
The end rbe. The type is IConnectable
useStart bool
The flag for whether using start rbe.
useEnd bool
The flag for whether using end rbe.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ or ‘connectableStart’ or ‘connectableEnd’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectableStart’ is not IConnectable. ArgumentException Will be thrown if type of ‘connectableEnd’ is not IConnectable.AddRackToRBEInEFEntity(HiddenDocumentMeshFreeBase, Obj, int, Vector, Obj, Obj, bool, bool, ExpressionValueVariable?)
Add rack to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add gear.
gearSetRackAndPinion Obj
The gear set name. The type is GearSetRackAndPinion.
gearIndex int
The gear name.
direction Vector
The z-axis.
connectableStart Obj
The start rbe. The type is IConnectable
connectableEnd Obj
The end rbe. The type is IConnectable
useStart bool
The flag for whether using start rbe.
useEnd bool
The flag for whether using end rbe.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ or ‘connectableStart’ or ‘connectableEnd’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘gearSetRackAndPinion’ is not GearSetRackAndPinion. ArgumentException Will be thrown if type of ‘connectableStart’ is not IConnectable. ArgumentException Will be thrown if type of ‘connectableEnd’ is not IConnectable.AddRackToRBEInFEEntity(HiddenDocumentFEBase, string, string, Vector, Obj, Obj, bool, bool, ExpressionValueVariable?)
Add gear to rack in FE entity.Parameters
document HiddenDocumentFEBase
The document to add gear.
gearSetName string
The gear set name.
gearName string
The gear name.
direction Vector
The z-axis.
connectableStart Obj
The start rbe. The type is IConnectable
connectableEnd Obj
The end rbe. The type is IConnectable
useStart bool
The flag for whether using start rbe.
useEnd bool
The flag for whether using end rbe.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ or ‘connectableStart’ or ‘connectableEnd’ arguments are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectableStart’ is not IConnectable. ArgumentException Will be thrown if type of ‘connectableEnd’ is not IConnectable.AddRackToRBEInFEEntity(HiddenDocumentFEBase, Obj, int, Vector, Obj, Obj, bool, bool, ExpressionValueVariable?)
Add gear to rack in FE entity.Parameters
document HiddenDocumentFEBase
The document to add gear.
gearSetRackAndPinion Obj
The gear set name. The type is GearSetRackAndPinion.
gearIndex int
The gear name.
direction Vector
The z-axis.
connectableStart Obj
The start rbe. The type is IConnectable
connectableEnd Obj
The end rbe. The type is IConnectable
useStart bool
The flag for whether using start rbe.
useEnd bool
The flag for whether using end rbe.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetRackAndPinion’ or ‘connectableStart’ or ‘connectableEnd’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘gearSetRackAndPinion’ is not GearSetRackAndPinion. ArgumentException Will be thrown if type of ‘connectableStart’ is not IConnectable. ArgumentException Will be thrown if type of ‘connectableEnd’ is not IConnectable.AddRackToShaftset(HiddenShaftSetDocument, string, string, ExpressionValueVariable?)
Add rack to shaftset.Parameters
document HiddenShaftSetDocument
The document to add rack.
gearSetName string
The gear set name.
gearName string
The rack name.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetName’ or ‘gearName’ arguments are empty.AddRackToShaftset(HiddenShaftSetDocument, Obj, int, ExpressionValueVariable?)
Add rack to shaftset.Parameters
document HiddenShaftSetDocument
The document to add rack.
gearSetRackAndPinion Obj
The rack and pinion gear set. The type is GearSetRackAndPinion.
gearIndex int
The gear index. The value is zero base.
initialAngle ExpressionValueVariable?
The initial angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSetRackAndPinion’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero. ArgumentException Will be thrown if ‘gearIndex’ is greater than or equal to gear’s count. ArgumentException Will be thrown if type of ‘gearSetRackAndPinion’ is not GearSetRackAndPinion.AddSectionInSimpleShaftset(HiddenShaftSetDocument, ExpressionValueVariable?, CrossSectionType, IEnumerable<ExpressionValueVariable>, string)
Add section in simple shaftset.Parameters
document HiddenShaftSetDocument
The document to add section.
length ExpressionValueVariable?
The added section length. The default value is 1.0.
crossSection CrossSectionType
The cross section type. The default value is CIRCULAR
diameters IEnumerable<ExpressionValueVariable>
The width when add to shaft. If it is null, default values based on cross section will be used.
sectionName string
The name of the section. If empty, default name starts with ‘Section_’ will be generated and used.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘crossSection’ and ‘diameters’ argument do not match.AddSlidingBearingToRBEInEFEntity(HiddenDocumentMeshFreeBase, string, Obj, enSBContactType)
Add sliding bearing to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add sliding bearing.
slidingBearingName string
The sliding bearing name.
connectable Obj
The rbe. The type is IConnectable.
contact enSBContactType
The contact type. The default value is outer fix.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearingName’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddSlidingBearingToRBEInEFEntity(HiddenDocumentMeshFreeBase, Obj, Obj, enSBContactType)
Add sliding bearing to rbe in EF entity.Parameters
document HiddenDocumentMeshFreeBase
The document to add sliding bearing.
slidingBearing Obj
The sliding bearing. The type is SlidingBearing
connectable Obj
The rbe. The type is IConnectable.
contact enSBContactType
The contact type. The default value is outer fix.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearing’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if type of ‘slidingBearing’ is not SlidingBearing. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddSlidingBearingToRBEInFEEntity(HiddenDocumentFEBase, string, Obj, enSBContactType)
Add sliding bearing to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add sliding bearing.
slidingBearingName string
The sliding bearing name.
connectable Obj
The rbe. The type is IConnectable.
contact enSBContactType
The contact type. The default value is outer fix.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearingName’ or ‘connectable’ arguments are empty. ArgumentNullException Will be thrown if type of ‘connectable’ is not IConnectable.AddSlidingBearingToRBEInFEEntity(HiddenDocumentFEBase, Obj, Obj, enSBContactType)
Add sliding bearing to rbe in FE entity.Parameters
document HiddenDocumentFEBase
The document to add sliding bearing.
slidingBearing Obj
The sliding bearing. The type is SlidingBearing
connectable Obj
The rbe. The type is IConnectable.
contact enSBContactType
The contact type. The default value is outer fix.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearing’ or ‘connectable’ arguments are empty. ArgumentException Will be thrown if type of ‘slidingBearing’ is not SlidingBearing. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.AddSlidingBearingToShaftset(HiddenShaftSetDocument, string, enSBContactType, ExpressionValueVariable?, AttachLocationType, ExpressionValueVariable?)
Add sliding bearing to shaftset.Parameters
document HiddenShaftSetDocument
The document to add sliding bearing.
slidingBearingName string
The sliding bearing name.
contact enSBContactType
The contact type. The default value is inner contact.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
startAngle ExpressionValueVariable?
The start angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearingName’ arguments are empty.AddSlidingBearingToShaftset(HiddenShaftSetDocument, Obj, enSBContactType, ExpressionValueVariable?, AttachLocationType, ExpressionValueVariable?)
Add sliding bearing to shaftset.Parameters
document HiddenShaftSetDocument
The document to add sliding bearing.
slidingBearing Obj
The sliding bearing. The type is SlidingBearing
contact enSBContactType
The contact type. The default value is inner contact.
offset ExpressionValueVariable?
The offset when attached to shaft. The default value is 0.0.
location AttachLocationType
The location when attached to shaft. The default value is Left
startAngle ExpressionValueVariable?
The start angle. The default value is 0.0.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘slidingBearing’ arguments are empty. ArgumentException Will be thrown if type of ‘slidingBearing’ is not SlidingBearing.ComponentAnalysisInShaftSet(HiddenShaftSetDocument, bool)
Component analysis In simple shaftset designer.Parameters
document HiddenShaftSetDocument
The HiddenShaftSetDocument for simulate. If null, the active document will be used.
openPost bool
The flag for whether opening post processor. The default value is false.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.ComponentAnalysisInShaftSet(HiddenDocumentMeshBase, bool)
Component analysis In simple shaftset designer.Parameters
document HiddenDocumentMeshBase
The HiddenShaftSetDocument for simulate. If null, the active document will be used.
openPost bool
The flag for whether opening post processor. The default value is false.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateConceptCarrier(GearTrainDocument, Obj, Vector?, Vector?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, PinionInstallMethodType, Obj?, Color?)
Create concept carrier.Parameters
document GearTrainDocument
The document to add concept carrier.
gearSet Obj
The planetary gearset. The type is IGearSet.
position Vector?
The position. The default value is 0,0,0.
rotateAxis Vector?
The rotate axis. The default value is 0,1,0.
pinionShaftLength ExpressionValueVariable?
The pinion shaft length. The default value is 100.
pinionShaftDiameter ExpressionValueVariable?
The pinion shaft diameter. The default value is 20.
carrierThickness ExpressionValueVariable?
The carrier thickness. The default value is 3.
pinionInstallMethodType PinionInstallMethodType
The pinion install method type. The default value is Constraint.
bearing Obj?
The bearing when ‘pinionInstallMethodType’ is selected as bearing. The default value is null.
The type is Bearing.
color Color?
The color of the concept carrier.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘gearSet’ arguments are empty. ArgumentException Will be thrown if ‘rotateAxis’ is not null and the magnitude of ‘rotateAxis’ is 0. ArgumentException Will be thrown if ‘pinionInstallMethodType’ is Bearing and the ‘bearing’ is null. ArgumentException Will be thrown if ‘gearSet’ is not planetary. ArgumentException Will be thrown if type of ‘gearSet’ is not IGearSet gearSet. ArgumentException Will be thrown if type of ‘bearing’ is not Bearing.CreateEFShaftset(GearTrainDocument, string)
Create ShaftSetMeshFree.Parameters
document GearTrainDocument
The document to create the EF shaft set.
shaftName string
The name of the EF shaft set. If empty, default name starts with ‘ShaftSet_’ will be generated and used.
Returns
Obj The new ShaftSetMeshFree object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateFEShaftset(GearTrainDocument, string)
Create ShaftSetFE.Parameters
document GearTrainDocument
The document to create the FE shaft set.
shaftName string
The name of the FE shaft set. If empty, default name starts with ‘ShaftSet_’ will be generated and used.
Returns
Obj The new ShaftSetFE object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateMeasurePointToShaftset(HiddenShaftSetDocument, string, ExpressionValueVariable?, ReferenceType)
Create measure point in simple shaftset MeasurePoint.Parameters
document HiddenShaftSetDocument
The document to create measure point.
measurePointName string
The name of the measure point. If empty, default name starts with ‘MeasurePt_’ will be generated and used.
offset ExpressionValueVariable?
The offset when add to shaft. The default value is 0.0.
reference PointEntityOnShaftSet.ReferenceType
The reference type. The default value is Start
Returns
Obj The new MeasurePoint object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreatePointLoadToRBE(HiddenDocumentMeshBase, Obj, Vector, string, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?)
Create point load in FE/EF shaftset PointLoadOnRBE.Parameters
document HiddenDocumentMeshBase
The document to create point load.
connectable Obj
The rbe. The type is IConnectable.
direction Vector
The z-axis.
pointLoadName string
The name of the point load. If empty, default name starts with ‘PointLoad_’ will be generated and used.
forceX ExpressionValueVariable?
The x-axis force. The default value is 10.0
forceY ExpressionValueVariable?
The y-axis force. The default value is 10.0
forceZ ExpressionValueVariable?
The z-axis force. The default value is 10.0
torqueX ExpressionValueVariable?
The x-axis torque. The default value is 10.0
torqueY ExpressionValueVariable?
The y-axis torque. The default value is 10.0
Returns
Obj The new PointLoadOnRBE object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘connectable’ argumenta are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.CreatePointLoadToShaftset(HiddenShaftSetDocument, string, ExpressionValueVariable?, ReferenceType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?)
Create point load in simple shaftset PointLoad.Parameters
document HiddenShaftSetDocument
The document to create point load.
pointLoadName string
The name of the point load. If empty, default name starts with ‘PointLoad_’ will be generated and used.
offset ExpressionValueVariable?
The offset when add to shaft. The default value is 0.0.
reference PointEntityOnShaftSet.ReferenceType
The reference type. The default value is Start
width ExpressionValueVariable?
The width when add to shaft. The default value is 1.0
forceX ExpressionValueVariable?
The x-axis force. The default value is 10.0
forceY ExpressionValueVariable?
The y-axis force. The default value is 10.0
forceZ ExpressionValueVariable?
The z-axis force. The default value is 10.0
torqueX ExpressionValueVariable?
The x-axis torque. The default value is 10.0
torqueY ExpressionValueVariable?
The y-axis torque. The default value is 10.0
Returns
Obj The new PointLoad object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreatePowerLoadToRBE(HiddenDocumentMeshBase, Obj, Vector, string, PowerLoadType)
Create power load in FE/EF shaftset PowerLoadOnRBE.Parameters
document HiddenDocumentMeshBase
The document to create power load.
connectable Obj
The rbe. The type is IConnectable.
direction Vector
The z-axis.
powerLoadName string
The name of the power load. If empty, default name starts with ‘PowerLoad_’ will be generated and used.
role PowerLoad.PowerLoadType
The role type. The default value is Input.
Returns
Obj The new PowerLoadOnRBE object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ is FE/EF housing. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.CreatePowerloadToShaftset(HiddenShaftSetDocument, string, ExpressionValueVariable?, ReferenceType, ExpressionValueVariable?, PowerLoadType)
Create power load in simple shaftset PowerLoad.Parameters
document HiddenShaftSetDocument
The document to create power load.
powerLoadName string
The name of the power load. If empty, default name starts with ‘PowerLoad_’ will be generated and used.
offset ExpressionValueVariable?
The offset when add to shaft. The default value is 0.0.
reference PointEntityOnShaftSet.ReferenceType
The reference type. The default value is Start
width ExpressionValueVariable?
The width when add to shaft. The default value is 1.0
role PowerLoad.PowerLoadType
The role type. The default value is Input.
Returns
Obj The new PowerLoad object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateSimpleShaftset(GearTrainDocument, Vector, Vector, ExpressionValueVariable, ExpressionValueVariable, string, int, Color?)
Create ShaftSet.Parameters
document GearTrainDocument
The document to create the simple shaft set.
position Vector
The position
rotateAxis Vector
The rotate axis.
length ExpressionValueVariable
The length of the simple shaft set
diameter ExpressionValueVariable
The diameter of the simple shaft set
shaftName string
The name of the simple shaft set. If empty, default name starts with ‘ShaftSet_’ will be generated and used.
numSection int
The number of section of the simple shaft set. The default value is 3.
color Color?
The color of the simple shaft set.
Returns
Obj The new ShaftSet object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘rotateAxis’ arguments are empty. ArgumentException Will be thrown if the magnitude of ‘rotateAxis’ is 0. ArgumentOutOfRangeException Will be thrown if ‘length’ or ‘diameter’ or ‘numSection’ value equal to or less than 0.CreateSimpleShaftset(GearTrainDocument, Vector)
Create ShaftSet.Parameters
document GearTrainDocument
The document to create the simple shaft set.
position Vector
The position
Returns
Obj The new ShaftSet object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateSimpleShaftset(GearTrainDocument)
Create ShaftSet.Parameters
document GearTrainDocument
The document to create the simple shaft set.
Returns
Obj The new ShaftSet object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.CreateUnbalanceMassToRBE(HiddenDocumentMeshBase, Obj, Vector, string, ExpressionValueVariable?, ExpressionValueVariable?)
Create unbalance mass in FE/EF shaftset UnbalanceMassOnRBE.Parameters
document HiddenDocumentMeshBase
The document to create unbalance mass.
connectable Obj
The rbe. The type is IConnectable.
direction Vector
The z-axis.
unbalanceMassName string
The name of the unbalance mass. If empty, default name starts with ‘UnbalanceMass_’ will be generated and used.
mass ExpressionValueVariable?
The mass. The default value is 1.0
momentArm ExpressionValueVariable?
The moment arm. The default value is 0.0
Returns
Obj The new UnbalanceMassOnRBE object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘connectable’ argumenta are empty. ArgumentException Will be thrown if magnitude of ‘direction’ is zero. ArgumentException Will be thrown if type of ‘connectable’ is not IConnectable.CreateUnbalanceMassToShaftset(HiddenShaftSetDocument, string, ExpressionValueVariable?, ReferenceType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?)
Create unbalance mass in simple shaftset UnbalanceMass.Parameters
document HiddenShaftSetDocument
The document to create unbalance mass.
unbalanceMassName string
The name of the unbalance mass. If empty, default name starts with ‘UnbalanceMass_’ will be generated and used.
offset ExpressionValueVariable?
The offset when add to shaft. The default value is 0.0.
reference PointEntityOnShaftSet.ReferenceType
The reference type. The default value is Start
width ExpressionValueVariable?
The width when add to shaft. The default value is 1.0
mass ExpressionValueVariable?
The mass. The default value is 1.0
momentArm ExpressionValueVariable?
The moment arm. The default value is 0.0
Returns
Obj The new UnbalanceMass object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty.ImportMeshIntoFEEntity(HiddenDocumentFEBase, TMatrix, string, Color?, string, bool, LengthUnitType, MassUnitType, TimeUnitType, string)
Import mesh into FE Entity.Parameters
document HiddenDocumentFEBase
The document to import mesh file.
transform TMatrix
The transformation matrix for a nodal body.
feDataFilePath string
The fe data file path.
color Color?
The color of the nodal body.
modalDataFilePath string
The modal data file path.
useUnit bool
The unit flag. The default value is false
lengthUnit LengthUnitType
The length unit. The default value is mm.
massUnit MassUnitType
The mass unit. The default value is kg.
timeUnit TimeUnitType
The time unit. The default value is sec.
meshName string
The mesh file name.
Exceptions
ArgumentNullException Will be thrown if ‘document’ arguments are empty. FileNotFoundException Will be thrown if ‘feDataFilePath’ does not exist.ImportPartIntoEFEntity(HiddenDocumentMeshFreeBase, TMatrix, string, CADImportResultType, CadImportUnitType, bool, CadImportColorType, Color?, string)
Import part into EF Entity.Parameters
document HiddenDocumentMeshFreeBase
The document to import part file.
transform TMatrix
The transformation matrix for a assembled body.
cadFilePath string
The cad data file path.
cadImportResult CADImportResultType
The cad import result type. The default value is Default.
cadImportUnit Document3D.CadImportUnitType
The cad import unit type. The default value is Auto.
healing bool
The healing flag. The default value is true.
cadImportColor Document3D.CadImportColorType
The cad import color. The default value is Default.
color Color?
The color of the assembled body.
partName string
The part file name.
Exceptions
ArgumentNullException Will be thrown if ‘document’ arguments are empty. FileNotFoundException Will be thrown if ‘cadFilePath’ does not exist.SplitSectionInSimpleShaftset(HiddenShaftSetDocument, Obj)
Split section in simple shaftset.Parameters
document HiddenShaftSetDocument
The document to add section.
section Obj
The section to be splitted. The type is CAD.Section.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘section’ arguments are empty.SplitSectionInSimpleShaftset(HiddenShaftSetDocument, int)
Split section in simple shaftset.Parameters
document HiddenShaftSetDocument
The document to add section.
sectionIndex int
The section index. The value is zero base.
Exceptions
ArgumentNullException Will be thrown if ‘document’ or ‘section’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘sectionIndex’ is less than zero or greater than length of section -1.UpdatePointEntity(HiddenShaftSetDocument, Obj)
Update point entity in shaftset designer.Parameters
document HiddenShaftSetDocument
The HiddenShaftSetDocument to exist point entity.
pointEntityOnShaftSet Obj
The point entity to exist on simple shaftset. The type is PointEntityOnShaftSet.
Exceptions
ArgumentNullException Will be thrown if ‘document’ ‘pointEntityOnShaftSet’ arguments are empty. ArgumentException Will be thrown if type of ‘pointEntityOnShaftSet’ is not PointEntityOnShaftSet.UpdatePointEntityOnRBE(HiddenDocumentMeshBase, Obj)
Update point entity in FE/EF shaftset/housing designer.Parameters
document HiddenDocumentMeshBase
The HiddenDocumentMeshBase to exist point entity.
pointEntityOnRBE Obj
The point entity to exist on RBE. The type is PointEntityOnRBE.
Exceptions
ArgumentNullException Will be thrown if ‘document’ ‘pointEntityOnRBE’ arguments are empty. ArgumentException Will be thrown if type of ‘pointEntityOnRBE’ is not PointEntityOnRBE.UpdateShaftSet(HiddenShaftSetDocument)
Update simple shaftset in shaftset designer.Parameters
document HiddenShaftSetDocument
The HiddenShaftSetDocument to exist EF shaftset.