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 type
Touch
Two geometries touch
Concentric
Two geometries share a center and plane
Fix
One movable object fixed
Distance
Two geometries have a specified distance between them
Parallel
Two geometries are parallel
Perpendicular
Two geometries are perpendicular
Center12
One geometry is positioned mid-way between two others
Center22
An implicit plane between two geometries of one movable object is positioned mid-way between two others
Angle
Two geometries have a specified angle between them
Fit
Two geometries are coincident
Bond
A number of movable objects form a rigid group
OrientAngle
Two geometries have a specified angle between them about an axis
SplineData
A spline and its defining points
SplineLength
Constrains the curve length of a spline
LinearPattern
For internal use only
CircularPattern
For internal use only
Linear2dPattern
For internal use only
RadiantPattern
For internal use only
AlignLock
Two geometries are constrained to have a common axis and no rotation about it
CommonOffsetTransform
For internal use only
JointHinge
For internal use only
JointSlider
For internal use only
JointCylindrical
For internal use only
JointBall
For internal use only
JointUniversal
For internal use only
JointPlanar
For internal use only
JointPointOnCurve
For internal use only
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.