ConstraintReferenceGeometryType Enumeration¶
NXOpen.Positioning.ConstraintReference.GeometryType is an alias for NXOpen.Positioning.ConstraintReferenceGeometryType
-
class
NXOpen.Positioning.
ConstraintReferenceGeometryType
¶ Bases:
object
Specifies the type of the geometry used in a
NXOpen.Positioning.ConstraintReference
.The type reflects that used in a
NXOpen.Positioning.Constraint
while it is being solved and may be different from that inferred directly fromNXOpen.Positioning.ConstraintReference.GetGeometry()
. For example we may useNXOpen.Positioning.ConstraintReferenceGeometryType.Line
as an axis when given a cylindrical face as the geometry.Enum Members
Enum Member Enum Member Description Unknown No geometry suitable for solvingPoint PointLine Straight lineCircle CirclePlane PlaneCylinder CylinderSphere SphereSweepSurface Swept surfaceParametricSurface Parametric surfaceParametricCurve Parametric curveSplineCurve Spline curveTorus TorusCone ConeEllipse EllipseSplineSurface Spline surfaceCoordinateSystem Coordinate system-
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.
-