vlax-ldata-delete
 
 
 

Erases LISP data from a drawing dictionary

(vlax-ldata-delete dict key [private])

Arguments

dict

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

key

A string specifying the dictionary key.

private

If a non-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.)

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)

Use vlax-ldata-delete to delete the LISP data:

_$ (vlax-ldata-delete "dict"
"key")
T

If vlax-ldata-delete is called again to remove the same data, it returns nil because the data does not exist in the dictionary:

_$ (vlax-ldata-delete "dict"
"key")
nil
See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.