Symbol Table Objects

AutoCAD AutoLISP & Visual LISP

 
Symbol Table Objects
 
 
 

The following rules apply to symbol tables:

  • Symbol table entries can be created through entmake with few restrictions, other than being valid record representations, and name conflicts can only occur in the VPORT table. *ACTIVE entries cannot be created.
  • Symbol table entries cannot be deleted with entdel.
  • The object states of symbol tables and symbol table entries may be accessed with entget by passing the entity name. The tblobjname function can be used to retrieve the entity name of a symbol table entry.
  • Symbol tables themselves cannot be created with entmake; however, symbol table entries can be created with entmake.
  • Handle groups (5, 105) cannot be changed in entmod, nor specified in entmake.
  • Symbol table entries that are not in the APPID table can have many of their fields modified with entmod. To be passed to entmod, a symbol table record list must include its entity name, which can be obtained from entget but not from the tblsearch and tblnext functions. The 70 group of symbol table entries is ignored in entmod and entmake operations.

Renaming symbol table entries to duplicate names is not acceptable, except for the VPORT symbol table. The following entries cannot be modified or renamed, except that most LAYER entries can be renamed and xdata can be modified on all symbol table entries.

Symbol table entries that cannot be modified or renamed

Table

Entry name

VPORT

*ACTIVE

LINETYPE

CONTINUOUS

LAYER

Entries cannot be modified, except for xdata, but renaming is allowed

The following entries cannot be renamed, but are otherwise modifiable:

Symbol table entries that cannot be renamed

Table

Entry name

STYLE

STANDARD

DIMSTYLE

STANDARD

BLOCKS

*MODEL_SPACE

BLOCKS

*PAPER_SPACE

APPID

No entries can be renamed