Solid Edge Assembly Type Library
AddGear Method
Specifies the first gear element.
Specifies the second gear element.
Specifies the type of gear constraint.
Specifies a ratio type.
Specifies the ratio value for the first gear constraint.
Specifies the ratio value for the second gear constraint.
Flips the relative movement direction.
Description
This method adds a gear constraint.
Syntax
Visual Basic
Public Function AddGear( _
   ByVal Element1 As Object, _
   ByVal Element2 As Object, _
   ByVal GearType As Relation3dGearTypeConstants, _
   ByVal RatioType As Relation3dGearRatioTypeConstants, _
   ByVal GearRatio1 As Double, _
   ByVal GearRatio2 As Double, _
   ByVal Flip As Boolean _
) As GearRelation3d
Parameters
Element1
Specifies the first gear element.
Element2
Specifies the second gear element.
GearType
ValueDescription
igRelation3dGearTypeLinearLinear
igRelation3dGearTypeRotaryLinear
igRelation3dGearTypeRotaryRotary
Specifies the type of gear constraint.
RatioType
ValueDescription
igRelation3dGearRatioTypeNumberOfTeeth
igRelation3dGearRatioTypeNumberOfTurns
Specifies a ratio type.
GearRatio1
Specifies the ratio value for the first gear constraint.
GearRatio2
Specifies the ratio value for the second gear constraint.
Flip
Flips the relative movement direction.
See Also

Relations3d Collection  | Relations3d Members  | Solid Edge V20 - What's New