vlax-ldata-put
 
 
 

Stores LISP data in a drawing dictionary or an object

(vlax-ldata-put dict key data [private])

Arguments

dict

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

key

A string specifying the dictionary key.

data

LISP data to be stored in the dictionary.

private

If vlax-ldata-put is called from a separate-namespace VLX and a non-nil value is specified for private, vlax-ldata-put marks the data as retrievable only by the same VLX.

Return Values

The value of data.

Examples

_$ (vlax-ldata-put "dict"
"key" '(1))
(1)
_$ (vlax-ldata-put "dict"
"cay" "Gumbo jumbo")
"Gumbo jumbo"
See Also