ConstraintType Enumeration¶
NXOpen.Positioning.Constraint.Type is an alias for NXOpen.Positioning.ConstraintType
-
class
NXOpen.Positioning.
ConstraintType
¶ Bases:
object
Specifies the type of a constraint.
Enum Members
Enum Member Enum Member Description Undefined No typeTouch Two geometries touchConcentric Two geometries share a center and planeFix One movable object fixedDistance Two geometries have a specified distance between themParallel Two geometries are parallelPerpendicular Two geometries are perpendicularCenter12 One geometry is positioned mid-way between two othersCenter22 An implicit plane between two geometries of one movable object is positioned mid-way between two othersAngle Two geometries have a specified angle between themFit Two geometries are coincidentBond A number of movable objects form a rigid groupOrientAngle Two geometries have a specified angle between them about an axisSplineData A spline and its defining pointsSplineLength Constrains the curve length of a splineLinearPattern For internal use onlyCircularPattern For internal use onlyLinear2dPattern For internal use onlyRadiantPattern For internal use onlyAlignLock Two geometries are constrained to have a common axis and no rotation about it-
ValueOf
()¶ Returns enum member equivalent to the value passed. Useful for bit operations of enum members.
Signature
ValueOf(value)
Parameters: value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed. Return type: Enum Member type. New in version NX9.0.1.
License requirements: None.
-