vl-list-loaded-vlx
 
 
 

Returns a list of all separate-namespace VLX files associated with the current document

(vl-list-loaded-vlx) 

Return Values

A list of symbols identifying separate-namespace VLX applications associated with the current AutoCAD document; otherwise nil, if there are no VLX applications associated with the current document.

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

Examples

Test for loaded VLX files associated with the current AutoCAD document:

_$ (vl-list-loaded-vlx)
nil

No VLX files are associated with the current document.

Load two VLX files; both VLX applications have been compiled to run in their own namespace:

_$ (load "c:/my documents/visual
lisp/examples/foo1.vlx")
nil
_$ (load "c:/my documents/visual
lisp/examples/foo2.vlx")
nil

Test for loaded VLX files associated with the current AutoCAD document:

_$ (vl-list-loaded-vlx)
(FOO1 FOO2)

The two VLX files just loaded are identified by vl-list-loaded-vlx.

Load a VLX that was compiled to run in a document's namespace:

_$ (load "c:/my documents/visual
lisp/examples/foolocal.vlx")
nil

Test for loaded VLX files:

_$ (vl-list-loaded-vlx)
(FOO1 FOO2))

The last VLX loaded (foolocal.vlx) is not returned by vl-list-loaded-vlx because the application was loaded into the document's namespace; the VLX does not have its own namespace.