NXOpen.UF.Drf.CreateGdtSymbol

Drf.CreateGdtSymbol()

Refer to UF_DRF_create_gdt_symbol for documentation.

Signature: CreateGdtSymbol(numLinesText, textString, origin3d, leaderType, leaderAttachType, objectArg, modelPos3d, frameCorner)

Parameters:
  • numLinesText (int) – Number of lines of text
  • textString (list of str) – Associated text string
  • origin3d (list of float) – 3d object origin in wcs coordinates
  • leaderType (NXOpen.UF.Drf.LeaderType Refer to UF_DRF_leader_type_e for documentation.) – Leader type UF_DRF_leader_type_none = none UF_DRF_leader_type_line = leader line UF_DRF_leader_type_ext_line = extension line
  • leaderAttachType (NXOpen.UF.Drf.LeaderAttachType Refer to UF_DRF_leader_attach_type_e for documentation.) – Leader attachment type If leader_type = UF_DRF_leader_type_line, UF_DRF_leader_attach_object = attached to object UF_DRF_leader_attach_screen = screen position
  • objectArg (NXOpen.UF.Drf.Object Refer to UF_DRF_object_s for documentation.) – Data of object to attach leader see uf_drf_types.h If leader_type = UF_DRF_leader_type_line and leader_attach_type = UF_DRF_leader_attach_object, Valid object types: point, line, arc, conic, cubic spline, B curve, and solid curve. If leader_type = UF_DRF_leader_type_ext_line Valid object types: line, straight solid curve. If the leader_attach_type is UF_DRF_leader_attach_screen, then object = NULL.
  • modelPos3d (list of float) – 3d model space position If leader_attach_type = UF_DRF_leader_attach_object This position is used as an approximate point on the object to attach the leader If leader_attach_type = UF_DRF_leader_attach_screen This position is the endpoint of the leader
  • frameCorner (NXOpen.UF.Drf.FrameCorner Refer to UF_DRF_frame_corner_e for documentation.) – Frame corner If leader_type = UF_DRF_leader_type_ext_line UF_DRF_frame_upper_left = upper left UF_DRF_frame_upper_right = upper right UF_DRF_frame_lower_left = lower left UF_DRF_frame_lower_right = lower right
Returns:

Object tag of created gdt symbol.

Return type:

Tag

License requirements: DRAFTING