Assembly: VM.API.Pre.dll This class implements APIs for Coupler class.
Inheritance
object ← CouplerAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateCable(SubSystemDocument, Obj, Obj, ExpressionValueVariable?, ExpressionValueVariable?, string, SymmetricType)
Create CouplerCable with CouplerCableJJ builder.Parameters
subSystemDocument SubSystemDocument
The document to create the coupler cable.
firstJoint Obj
The first joint to create the coupler cable.
secondJoint Obj
The second joint of the coupler cable.
firstRatio ExpressionValueVariable?
The first ratio of the coupler cable.
secondRatio ExpressionValueVariable?
The second ratio of the coupler cable.
name string
The name of the CouplerCable.
symmetricType SymmetricType
The symmetric type of the new CouplerCable.
Returns
Obj The new CouplerCable object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘firstJoint’, ‘secondJoint’ is null.CreateCoupler(SubSystemDocument, Obj, Obj, MotionType, MotionType, ExpressionValueVariable?, ExpressionValueVariable?, string, SymmetricType)
Create Coupler with CouplerJJ builder.Parameters
subSystemDocument SubSystemDocument
The document to create the coupler.
firstJoint Obj
The first joint to create the coupler.
secondJoint Obj
The second joint of the coupler.
firstType PropertyCouplerBase.MotionType
The first type of the coupler.
secondType PropertyCouplerBase.MotionType
The second type of the coupler.
firstRatio ExpressionValueVariable?
The first ratio of the coupler.
secondRatio ExpressionValueVariable?
The second ratio of the coupler.
name string
The name of the Coupler.
symmetricType SymmetricType
The symmetric type of the new Coupler.
Returns
Obj The new Coupler object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘firstJoint’, ‘secondJoint’ is null.CreateCoupler(SubSystemDocument, Obj, Obj, Obj, MotionType, MotionType, MotionType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, string, SymmetricType)
Create Coupler with CouplerJJ builder.Parameters
subSystemDocument SubSystemDocument
The document to create the coupler.
firstJoint Obj
The first joint to create the coupler.
secondJoint Obj
The second joint of the coupler.
thirdJoint Obj
The third joint of the coupler.
firstType PropertyCouplerBase.MotionType
The first type of the coupler.
secondType PropertyCouplerBase.MotionType
The second type of the coupler.
thirdType PropertyCouplerBase.MotionType
The third type of the coupler.
firstRatio ExpressionValueVariable?
The first ratio of the coupler.
secondRatio ExpressionValueVariable?
The second ratio of the coupler.
thirdRatio ExpressionValueVariable?
The third ratio of the coupler.
name string
The name of the Coupler.
symmetricType SymmetricType
The symmetric type of the new Coupler.
Returns
Obj The new Coupler object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘firstJoint’, ‘secondJoint’, ‘thirdJoint’ is null.CreateGear(SubSystemDocument, Obj, Obj, ExpressionValueVariable?, ExpressionValueVariable?, string, SymmetricType)
Create CouplerGear with CouplerGearJJ builder.Parameters
subSystemDocument SubSystemDocument
The document to create the coupler gear.
firstJoint Obj
The first joint to create the coupler gear.
secondJoint Obj
The second joint of the coupler gear.
firstRatio ExpressionValueVariable?
The first ratio of the coupler gear.
secondRatio ExpressionValueVariable?
The second ratio of the coupler gear.
name string
The name of the CouplerGear.
symmetricType SymmetricType
The symmetric type of the new CouplerGear.
Returns
Obj The new CouplerGear object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘firstJoint’, ‘secondJoint’ is null.CreateRackAndPinion(SubSystemDocument, Obj, Obj, ExpressionValueVariable?, ExpressionValueVariable?, string, SymmetricType)
Create CouplerRackPinion with CouplerRackPinionJJ builder.Parameters
subSystemDocument SubSystemDocument
The document to create the coupler rack and pinion.
firstJoint Obj
The first joint to create the coupler rack and pinion.
secondJoint Obj
The second joint of the coupler rack and pinion.
firstRatio ExpressionValueVariable?
The first ratio of the coupler rack and pinion.
secondRatio ExpressionValueVariable?
The second ratio of the coupler rack and pinion.
name string
The name of the CouplerRackPinion.
symmetricType SymmetricType
The symmetric type of the new CouplerRackPinion.