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 aNXOpen.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 solving Point Point Line Straight line Circle Circle Plane Plane Cylinder Cylinder Sphere Sphere SweepSurface Swept surface ParametricSurface Parametric surface ParametricCurve Parametric curve SplineCurve Spline curve Torus Torus Cone Cone Ellipse Ellipse SplineSurface Spline surface CoordinateSystem 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.
-