SketchConstraintType Enumeration

NXOpen.Sketch.ConstraintType is an alias for NXOpen.SketchConstraintType

class NXOpen.SketchConstraintType

Bases: object

Represents the type of constraint

Enum Members

to select any type of constraint “
“Fixed”, ” - ” “Horizontal”, ” - ” “Vertical”, ” - ” “Parallel”, ” - ” “Perpendicular”, ” - ” “Collinear”, ” - ” “EqualLength”, ” - ” “EqualRadius”, ” - ” “ConstantLength”, ” - ” “ConstantAngle”, ” - ” “Coincident”, ” - ” “Concentric”, ” - ” “Mirror”, ” - ” “PointOnCurve”, ” - ” “Midpoint”, ” - ” “Tangent”, ” - ” “RadiusDim”, ” - ” “DiameterDim”, ” - ” “HorizontalDim”, ” - ” “VerticalDim”, ” - ” “ParallelDim”, ” - ” “PerpendicularDim”, ” - ” “AngularDim”, ” system will decide if it is major or minor ” “ReservedCon1”, ” Do not use ” “ReservedCon2”, ” Do not use ” “ReservedCon3”, ” Do not use ” “ReservedCon4”, ” Do not use ” “ReservedCon5”, ” Do not use ” “ReservedCon6”, ” Do not use ” “PointOnString”, ” - ” “Slope”, ” - ” “UniformScaled”, ” - ” “NonUniformScaled”, ” - ” “AssocTrim”, ” Limited support ” “AssocOffset”, ” Limited support ” “PerimeterDim”, ” - ” “Offset”, ” - ” “Normal”, ” - ” “PointOnLoop”, ” - ” “RecipeTrim”, ” - ” “Pattern”, ” - ” “MinorAngularDim”, ” - ” “MajorAngularDim”, ” - ” “LastConType”, ” The last constraint type indicator;

NOT to be used. “

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.