NXOpen.UF.Draw.CreateSimplifiedCurve

Draw.CreateSimplifiedCurve()

Refer to UF_DRAW_create_simplified_curve for documentation.

Signature: CreateSimplifiedCurve(masterCurveTag, viewTag, flatArcToLine)

Parameters:
  • masterCurveTag (Tag) – Tag of the master curve or edge to simplify
  • viewTag (Tag) – Tag of the drawing member view of the master_curve. If the master_curve is a section edge or silhouette, view_tag will be ignored as simple curves will be created in the view of the master curve.
  • flatArcToLine (bool) – If TRUE, a post processing of the arc segments output from the simplification will be performed to convert flat arc segments with chordal tolerance less than half the view display tolerance to line segments. Also, adjacent line segments and arc segments will be joined if the result is within half the view display tolerance.
Returns:

A Tuple

Return type:

A tuple consisting of (numSegments,segments)

numSegments(int): Number of simplified curves

segments(list of Tag): Array of simplified curves. Use UF_free to free memory.

License requirements: DRAFTING