NXOpen.UF.Drf.CreateOrdinateDim

Drf.CreateOrdinateDim()

Refer to UF_DRF_create_ordinate_dim for documentation.

Signature: CreateOrdinateDim(np1, ip2, np3, ip4, ip5, rp6, rp7, cp8, ip9, cp10, ip11, rp12)

Parameters:
  • np1 (Tag) – Object identifier of the margin or ordinate origin.
  • ip2 (int) – Type of dimension if object is an origin: 1 = Horizontal 2 = Vertical
  • np3 (Tag) – Object to be dimensioned.
  • ip4 (int) – Type of associativity to the object 1 = Endpoint 2 = Arc center 3 = Tangency 4 = Utility symbol
  • ip5 (int) – Associativity modifier. For endpoint associativity: 1 = First endpoint 2 = Second endpoint For a tangency associativity: 0-100 = parameter percent along the arc to identify the point used to pick the arc side to dimension. For a utility symbol: 1-100 centerline segment number
  • rp6 (float) – Dogleg angle in degrees ( 0.0 for no dogleg).
  • rp7 (float) – Dogleg distance from the dimension point in WCS units.
  • cp8 (str) – Dimension text string.
  • ip9 (int) – Number of lines of appended text.
  • cp10 (list of str) – Array of appended text strings.
  • ip11 (int) – Text origin flag: 1 = Center of total text box. 2 = Center of dimension text box
  • rp12 (list of float) – X, Y and Z of origin in WCS coordinates.
Returns:

Object identifier of created dimension

Return type:

Tag

License requirements: DRAFTING