SketchConstraintClass Enumeration

NXOpen.Sketch.ConstraintClass is an alias for NXOpen.SketchConstraintClass

class NXOpen.SketchConstraintClass

Bases: object

Represents the class of the constraint. There are two classes of constraints: geometric and dimension

Enum Members

Enum Member Enum Member Description
NotConstraint
Any Used in query methods that filter by constraint class to select both types of constraints
Geometric A non-dimension constraint
Dimension A dimensional constraint
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.