NXOpen.UF.Sket.DeleteLegacyConstraint

Sket.DeleteLegacyConstraint()

Refer to UF_SKET_delete_legacy_constraint for documentation.

Signature: DeleteLegacyConstraint(type, objList, assocVarList, deleteAll)

Parameters:
  • type (int) – The type of geometric constraint, one of the following values: UF_SKET_DATUM UF_SKET_CONSTANT_OFFSETS UF_SKET_POINT_ON_CURVE UF_SKET_MIDPOINT_OF_CURVE UF_SKET_HORIZONTAL_LINES UF_SKET_VERTICAL_LINES UF_SKET_CONSTANT_ANGLES UF_SKET_CONSTANT_LENGTH_LINES UF_SKET_COLLINEAR UF_SKET_PARALLEL UF_SKET_PERPENDICULAR UF_SKET_EQUAL_LENGTH UF_SKET_EQUAL_RADIUS UF_SKET_TANGENT_CURVES
  • objList (list of Tag) – When delete_all flag = 0, the tag of the object from which the constraint is deleted.
  • assocVarList (list of int) – When delete_all flag = 0, the variable index associated with the object if type = UF_SKET_DATUM UF_SKET_CONSTANT_OFFSET UF_SKET_POINT_ON_CURVE UF_SKET_MIDPOINT_OF_CURVE UF_SKET_CONSTANT_ANGLES UF_SKET_CONSTANT_LENGTH_LINES UF_SKET_TANGENT_CURVES UF_SKET_CONSTANT_OFFSET UF_SKET_TANGENT_CURVES NOT USED for type = UF_SKET_HORIZONTAL_LINES UF_SKET_VERTICAL_LINES UF_SKET_COLLINEAR UF_SKET_PARALLEL UF_SKET_PERPENDICULAR UF_SKET_EQUAL_LENGTH UF_SKET_EQUAL_RADIUS
  • deleteAll (int) – Delete all flag, where 1 = yes (delete all constraints of specified type)

License requirements: SOLIDS MODELING or DRAFTING