NXOpen.UF.Sket.AskConstraintsOfGeometry

Sket.AskConstraintsOfGeometry()

Refer to UF_SKET_ask_constraints_of_geometry for documentation.

Signature: AskConstraintsOfGeometry(sketchTag, geomTag, conClass)

Parameters:
  • sketchTag (Tag) – Sketch tag
  • geomTag (Tag) – Tag of the geometry.
  • conClass (NXOpen.UF.Sket.ConClass Refer to UF_SKET_con_class_e for documentation.) – Constraint class: - UF_SKET_all_cons - UF_SKET_geo_cons - UF_SKET_dim_cons
Returns:

A Tuple

Return type:

A tuple consisting of (conNum,conTags)

conNum(int): Number of output constraints

conTags(list of Tag): Array of constraints of the sketch. Use UF_free to deallocate memory when done.

License requirements: None