NXOpen.UF.Drf.CreateIdSymbol¶
-
Drf.
CreateIdSymbol
()¶ Refer to UF_DRF_create_id_symbol for documentation.
Signature:
CreateIdSymbol(idSymbolType, upperTextString, lowerTextString, origin3d, leaderMode, leaderAttachType, objectArg, modelPos3d)
Parameters: - idSymbolType (
NXOpen.UF.Drf.IdSymbolType
Refer to UF_DRF_id_symbol_type_e for documentation.) – id symbol type UF_DRF_sym_circle = circle UF_DRF_sym_divcir = divided circle UF_DRF_sym_square = square UF_DRF_sym_divsqr = divided square UF_DRF_sym_hexagon = hexagon UF_DRF_sym_divhex = divided hexagon UF_DRF_sym_triup = triangle, point up UF_DRF_sym_tridown = triangle, point down UF_DRF_sym_datum = datum target UF_DRF_sym_roundbox = rounded box - upperTextString (str) – Upper text string (maximum MAX_ID_SYM_TEXT_LENGTH characters)
- lowerTextString (str) – Lower text string (maximum MAX_ID_SYM_TEXT_LENGTH characters)
- origin3d (list of float) – 3d object origin in wcs coordinates
- leaderMode (
NXOpen.UF.Drf.LeaderMode
Refer to UF_DRF_leader_mode_e for documentation.) – Leader mode UF_DRF_without_leader = without leader UF_DRF_with_leader = with leader - leaderAttachType (
NXOpen.UF.Drf.LeaderAttachType
Refer to UF_DRF_leader_attach_type_e for documentation.) – Leader attachment type 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) valid object types: point, line, arc, conic, cubic spline, B curve, and 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
Returns: Object tag of created id symbol.
Return type: License requirements: DRAFTING
- idSymbolType (