NXOpen.UF.Drf.EditDimAssoc

Drf.EditDimAssoc()

Refer to UF_DRF_edit_dim_assoc for documentation.

Signature: EditDimAssoc(dimensionTag, oldLeaderPosition, newLeaderPosition, newAssocType, newAssocObject)

Parameters:
  • dimensionTag (Tag) – Tag of dimension whose associativity is being edited.
  • oldLeaderPosition (list of float) – Position on associated object to be replaced (arrow location). - drawing coordinates if on drawing - model space coordinates if in model
  • newLeaderPosition (list of float) – Position on new associated object to attach to.
  • newAssocType (int) – Type of new associativity horizontal, vertical, parallel, perpendicular, cylindrical, and folded radius: 1 = end point 2 = arc center point 3 = arc tangent point 9 = centerline horizontal and vertical ordinate, and ordinate origin dimensions: 0 = none 1 = end point 2 = arc center point 3 = arc tangent point 9 = centerline angular dimensions: 1 = dimension to line 2 = dimension to extension line 5 = dimension to centerline arc length, radius, diameter, hole, and concentric circle dimensions: does not apply
  • newAssocObject (NXOpen.UF.Drf.Object Refer to UF_DRF_object_s for documentation.) – Data of new object (see uf_drf_types.h) to associate to. Note that the only fields used are object_tag and object_view_tag. Valid object_tag types: point, line, arc, conic, cubic spline, B curve, pattern, and solid curve.

License requirements: DRAFTING