NXOpen.UF.Route.CreateRoundCrossSection

Route.CreateRoundCrossSection()

Refer to UF_ROUTE_create_round_cross_section for documentation.

Signature: CreateRoundCrossSection(objectInPart, style, diameter, offsets)

Parameters:
  • objectInPart (Tag) – Tag of an existing object which defines which part the cross section will be created in
  • style (int) – Routing stock style - one of UF_ROUTE_STYLE_SIMPLE UF_ROUTE_STYLE_DETAIL
  • diameter (float) – The diameter of the circle created
  • offsets (list of str) – Array of 2 strings which define the offsets to be applied to the curves when sweeping the curves along the path. Positive offset is “away” from the origin. Negative offset is “toward” the origin. Example, ”.25” or “-.35”. These are used to create expressions and as such may be any string that is valid for the right hand side of an expression, e.g., “radius * ( 3 / 16 )”.
Returns:

Tag of the created cross section object

Return type:

Tag

License requirements: UG/ROUTING