Create IDs:

Create IDs, ODEDIT_SETID command – creation of identifiers in the specified field of the specified OD.

Select the required OD in the list. Select the required OD field from the drop-down list.
Enter, if necessary, Prefix, Suffix. Determine the initial value of the numeric part of the identifiers.
IDs are created, consisting of prefix, non-repeating number, and suffix.

For the fields of the Point type, the command is not executed.

The command processes both the preliminary and subsequent selection of graphic elements. By subsequent selection Enter means "all objects". Only graphic elements from visible and unfrozen or unlocked layers are processed.

See more fully in: