NXOpen.UF.Sket.AskConstraintsOfSketch

Sket.AskConstraintsOfSketch()

Refer to UF_SKET_ask_constraints_of_sketch for documentation.

Signature: AskConstraintsOfSketch(sketchTag, conClass)

Parameters:
  • sketchTag (Tag) – Sketch tag
  • 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 (numCons,conTags)

numCons(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