vl-unload-vlx

AutoCad AutoLISP Functions

 
vl-unload-vlx
 
 
 

Unload a VLX application that is loaded in its own namespace

(vl-unload-vlx appname) 

Arguments

appname

A string naming a VLX application that is loaded in its own namespace. Do not include the .vlx extension.

The vl-unload-vlx function does not unload VLX applications that are loaded in the current document's namespace.

Return Values

T if successful; otherwise vl-unload-vlx results in an error.

Examples

Assuming that vlxns is an application that is loaded in its own namespace, the following command unloads vlxns:

Command: (vl-unload-vlx "vlxns")

T

Try unloading vlxns again:

Command: (vl-unload-vlx "vlxns")

; *** ERROR: LISP Application is not found VLXNS

The vl-unload-vlx command fails this time, because the application was not loaded.

See Also