Share
 
 

About Removing Reactors (AutoLISP/ActiveX)

Reactors cannot be removed or deleted, but rather they can be disabled with vlr-remove.

Note: ActiveX support in AutoLISP is limited to Windows only.

The reactor object still exists and can be enabled again using the vlr-add function. The vlr-added-p function allows you to determine whether or not a reactor is active (registered to AutoCAD).

You can use the following functions to disable and enable a reactor:

  • vlr-added-p - Tests to determine if a reactor object is enabled. For example:
    (vlr-added-p circleReactor)
    T

    The vlr-added-p function returns T if the reactor is enabled, nil if it is not.

  • vlr-remove - Disables a reactor. For example:
    (vlr-remove circleReactor)
    #<VLR-Object-reactor>
  • vlr-remove-all - Disables all reactors or all reactors of the specified type. For example:
    (vlr-remove-all)
    ((:VLR-Object-Reactor #<VLR-Object-Reactor>))
    
    (vlr-remove-all :VLR-DWG-Reactor)
    nil
  • vlr-add - Enables a disabled reactor object. For example:
    (vlr-add circleReactor)
    #<VLR-Object-reactor>

Was this information helpful?