NXOpen.UF.Drf.CreateOrdinateMargin

Drf.CreateOrdinateMargin()

Refer to UF_DRF_create_ordinate_margin for documentation.

Signature: CreateOrdinateMargin(ip1, np2, np3, rp4, rp5, rp6)

Parameters:
  • ip1 (int) – Type of margin: 1 = Horizontal 2 = Vertical
  • np2 (Tag) – Object identifier of the ordinate origin.
  • np3 (Tag) – Object identifier of the line or a NULL_TAG.
  • rp4 (list of float) – X, Y point on the margin, only used if no line object is passed in.
  • rp5 (list of float) – X, Y direction of the margin, only used if no line object is passed in.
  • rp6 (float) – Offset distance.
Returns:

Object identifier of the created margin.

Return type:

Tag

License requirements: DRAFTING