vlr-reactors
 
 
 

Returns a list of existing reactors

(vlr-reactors [reactor-type...])

Arguments

reactor-type

One or more of the following symbols:

:VLR-AcDb-Reactor

:VLR-Command-Reactor

:VLR-DeepClone-Reactor

:VLR-DocManager-Reactor

:VLR-DWG-Reactor

:VLR-DXF-Reactor

:VLR-Editor-Reactor

:VLR-Insert-Reactor

:VLR-Linker-Reactor

:VLR-Lisp-Reactor

:VLR-Miscellaneous-Reactor

:VLR-Mouse-Reactor

:VLR-Object-Reactor

:VLR-SysVar-Reactor

:VLR-Toolbar-Reactor

:VLR-Undo-Reactor

:VLR-Wblock-Reactor

:VLR-Window-Reactor

:VLR-XREF-Reactor

If you specify reactor-type arguments, vlr-reactors returns lists of the reactor types you specified. If you omit reactor-type, vlr-reactors returns all existing reactors.

Return Values

A list of reactor lists; otherwise nil, if there are no reactors of any specified type. Each reactor list begins with a symbol identifying the reactor type, followed by pointers to each reactor of that type.

Examples

List all reactors in a drawing:

_$ (vlr-reactors)
((:VLR-Object-Reactor #<VLR-Object-Reactor>) (:VLR-Editor-Reactor #<VLR-Editor-Reactor>))

List all object reactors:

_$ (vlr-reactors :vlr-object-reactor)
((:VLR-Object-Reactor #<VLR-Object-Reactor>))

vlr-reactors returns a list containing a single reactor list.

List all database reactors:

_$ (vlr-reactors :vlr-acdb-reactor)
nil

There are no database reactors defined.

List all DWG reactors:

_$ (vlr-reactors :vlr-dwg-reactor)
((:VLR-DWG-Reactor #<VLR-DWG-Reactor> #<VLR-DWG-Reactor>))

vlr-reactors returns a list containing a list of DWG reactors.