NXOpen.UF.Sket.ReadDimensionalConstraint

Sket.ReadDimensionalConstraint()

Refer to UF_SKET_read_dimensional_constraint for documentation.

Signature: ReadDimensionalConstraint(sketchTag, conTag)

Parameters:
  • sketchTag (Tag) – Sketch tag
  • conTag (Tag) – Tag of dimensional constraint to read.
Returns:

A Tuple

Return type:

A tuple consisting of (dimType,numDimObj,dimObjs,dimOrigin,dimTag,expTag)

dimType(`NXOpen.UF.Sket.ConType Refer to UF_SKET_con_type_e for documentation.`): Dimension type

numDimObj(int): Number of geometry tags in the geoms array

dimObjs(list of ``NXOpen.UF.Sket.DimObject` Refer to UF_SKET_dim_object_s for documentation.`): Array of num_geom geometry tags Use UF_free to deallocate memory when done.

dimOrigin(list of float): Dimension origin (X, Y, Z) in model space

dimTag(Tag): Tag of associated dimension object. Could be a NULL_TAG for cases such as perimeter dimensions.

expTag(Tag): Tag of associated expression object

License requirements: SOLIDS MODELING or DRAFTING