vlr-set-notification

AutoCad AutoLISP Functions

 
vlr-set-notification
 
 
 

Defines whether a reactor's callback function will execute if its associated namespace is not active

(vlr-set-notification reactor 'range)

Arguments

reactor

A VLR object.

'range

The range argument is a symbol that can be either 'all-documents (execute the callback regardless of whether the reactor is associated with the active document), or 'active-document-only (execute the callback only if the reactor is associated with the active document).

Return Values

The VLR object.

Examples

Set a reactor to execute its callback function even if its associated namespace is not active:

_$ (vlr-set-notification
circleReactor 'all-documents)
#<VLR-Object-Reactor>