Retrieves LISP data from a drawing dictionary or an object
Supported Platforms: Windows only
(vlax-ldata-get dict key [default-data [private]])
Type: VLA-object or String
An object, an AutoCAD drawing entity object, or a string naming a global dictionary.
Type: String
Dictionary key.
Type: Integer, Real, String, List, Ename (entity name), VLA-object, Variant, Safearray, T, or nil
LISP data to be returned if no matching key exists in the dictionary.
Type: T or nil
If a non-nil value is specified for private and vlax-ldata-get is called from a separate-namespace VLX, vlax-ldata-get retrieves private LISP data from dict.
If you specify private, you must also specify default-data; you can use nil for default-data.
Type: Integer, Real, String, List, Ename (entity name), VLA-object, Variant, Safearray, T, or nil
The value of the key item.
Note that a separate-namespace VLX can store both private and non-private data using the same dict and key. The private data can be accessed only by the same VLX, but any application can retrieve the non-private data.
(vlax-ldata-put "mydict" "mykey" "Mumbo Dumbo") "Mumbo Dumbo" (vlax-ldata-get "mydict" "mykey") "Mumbo Dumbo"