Erases LISP data from a drawing dictionary
(vlax-ldata-delete dict key [private])
Arguments
A VLA-object, AutoCAD drawing entity object, or a string naming a global dictionary.
A string specifying the dictionary key.
nil value is specified for private and vlax-ldata-delete is called from a separate-namespace VLX, vlax-ldata-delete deletes private LISP data from dict. (See vlax-ldata-get for examples using this argument.)
If a non-Return Values
T, if successful; otherwise nil (for example, the data did not exist).
Examples
Add LISP data to a dictionary:
_$ (vlax-ldata-put "dict" "key" '(1))
(1)
vlax-ldata-delete to delete the LISP data:
Use_$ (vlax-ldata-delete "dict" "key")
T
vlax-ldata-delete is called again to remove the same data, it returns nil because the data does not exist in the dictionary:
If_$ (vlax-ldata-delete "dict" "key")
nil
vlax-ldata-get, vlax-ldata-list, and vlax-ldata-put functions.
The