NXOpen.UF.Drf.CreateOrddimension

Drf.CreateOrddimension()

Refer to UF_DRF_create_orddimension for documentation.

Signature: CreateOrddimension(marginOriginTag, dimensionType, objectArg, doglegAngle, doglegDistance, drfText, textOriginFlag, origin3d)

Parameters:
  • marginOriginTag (Tag) – Margin or origin tag
  • dimensionType (int) – Type of dimension (required when margin_origin_tag is origin, ignored otherwise) 1 = horizontal 2 = vertical
  • objectArg (NXOpen.UF.Drf.Object Refer to UF_DRF_object_s for documentation.) – Data of object (see uf_drf_types.h) valid object types: point, line, arc, conic, cubic spline, B curve, pattern, solid curve, offset center point, cylindrical, symmetrical centerline, intersection symbol, target point
  • doglegAngle (float) – Dogleg angle in degrees (0.0 for no dogleg)
  • doglegDistance (float) – Dogleg distance from dim point in wcs coordinates
  • drfText (NXOpen.UF.Drf.Text Refer to UF_DRF_text_s for documentation.) – Associated text (see uf_drf_types.h)
  • textOriginFlag (int) – Text origin flag 1 = center of total text box 2 = center of dimension text box
  • origin3d (list of float) – 3d dimension origin in wcs coordinates
Returns:

Object tag of created ordinate dimension.

Return type:

Tag

License requirements: DRAFTING