vlax-ldata-list

AutoCad AutoLISP Functions

 
vlax-ldata-list
 
 
 

Lists LISP data in a drawing dictionary

(vlax-ldata-list dict [private])

Arguments

dict

A VLA-object, an AutoCAD drawing entity object, or a string naming a global dictionary.

private

If vlax-ldata-list is called from a separate-namespace VLX and a non-nil value is specified for private, vlax-ldata-list retrieves only private data stored by the same VLX. (See vlax-ldata-get for examples using this argument.)

Return Values

An associative list consisting of pairs (key . value).

Examples

Use vlax-ldata-put to store LISP data in a dictionary:

_$ (vlax-ldata-put "dict"
"cay" "Mumbo Jumbo ")
"Mumbo Jumbo "
_$ (vlax-ldata-put "dict"
"say" "Floobar ")
"Floobar "

Use vlax-ldata-list to display the LISP data stored in “dict”:

_$ (vlax-ldata-list "dict")
(("say" . "Floobar ") ("cay" . "Mumbo Jumbo "))
See Also