Inspecting Reactors

AutoCAD AutoLISP & Visual LISP

 
Inspecting Reactors
 
 
 

You can examine reactors using the VLISP Inspect tool. For example, the object reactor defined in Using Object Reactors was returned to the variable circleReactor. If you open an Inspect window for this variable, VLISP displays the following information:

The list items in the Inspect window show the following:

  • Objects owning the reactor
  • Event and associated callback function
  • Whether or not the reactor is active (yes if added-p is T, no if added-p is nil)
  • User data attached to the reactor
  • Document range in which the reactor will fire (if 0, it fires only in the context of the drawing document it was created in; if 1, the reactor responds in the context of any document (see Working with Reactors in Multiple Namespaces for more information on this topic))
  • The AutoCAD document attached to the object reactor

Double-click on the item that begins with {Owners} to view a list of the owner objects:

Double-click on a list item to obtain detailed information about an owner.