NXOpen.UF.Modeling.AskPerpDist

Modeling.AskPerpDist()

Refer to UF_MODL_ask_perp_dist for documentation.

Signature: AskPerpDist(feature, constraint, edit)

Parameters:
  • feature (Tag) – Identifier for the feature.
  • constraint (Tag) – Identifier for constraint
  • edit (int) – This is an unused flag. It used to determine whether to return the right-hand side or both sides of an expression. Currently, both sides of an expression are returned.
Returns:

A Tuple

Return type:

A tuple consisting of (fixed1,fixed2,feature1,feac,howFar,tool,part)

fixed1(list of float): Dimension attachment point on the part.

fixed2(list of float): Point on the part that along with the fixed1 point, defines the line that the dimension is perpendicular to.

feature1(list of float): Dimension attachment point on the part.

feac(list of float): Center of arc if the attachment point is tangent to arc edge of feature, otherwise it is the same as the feature point.

howFar(str): Expression distance. This must be freed by calling UF_free.

tool(Tag): Edge on the tool or NULL_TAG for a centerline

part(Tag): Edge on the part

License requirements: None