Symbol Table and Dictionary-Handling Functions

AutoCAD AutoLISP & Visual LISP

 
Symbol Table and Dictionary-Handling Functions
 
 
 

The following table provides summary descriptions of the AutoLISP symbol table and dictionary-handling functions.

Symbol table and dictionary-handling functions

Function

Description

(dictaddename symbol newobj)

Adds a non-graphical object to the specified dictionary

(dictnextename symbol [rewind])

Finds the next item in a dictionary

(dictremoveename symbol)

Removes an entry from the specified dictionary

(dictrenameename oldsym newsym)

Renames a dictionary entry

(dictsearchename symbol [setnext])

Searches a dictionary for an item

(layoutlist)

Returns a list of all paper space layouts in the current drawing

(namedobjdict)

Returns the entity name of the current drawing's named object dictionary, which is the root of all non-graphical objects in the drawing

(setviewview_description [vport_id])

Establishes a view for a specified viewport

(snvalidsym_name)

Checks the symbol table name for valid characters

(tblnexttable-name [rewind])

Finds the next item in a symbol table

(tblobjnametable-name symbol)

Returns the entity name of a specified symbol table entry

(tblsearchtable-name symbol [setnext])

Searches a symbol table for a symbol name

(vlax-ldata-listdictkey)

Erases AutoLISP data from a drawing dictionary

NoteVLISP extension: requires vl-load-com

(vlax-ldata-getdictkey [default-data])

Retrieves AutoLISP data from a drawing dictionary

NoteVLISP extension: requires vl-load-com

(vlax-ldata-listdict)

Lists AutoLISP data in a drawing dictionary

NoteVLISP extension: requires vl-load-com

(vlax-ldata-putdictkeydata)

Stores AutoLISP data in a drawing dictionary

NoteVLISP extension: requires vl-load-com

(vlax-ldata-testdata)

Determines whether data can be saved over a session boundary

NoteVLISP extension: requires vl-load-com