There are many types of AutoCAD®
reactors. Each reactor type responds to one or more AutoCAD events.
Reactors are grouped into the following categories:
your application each time an AutoCAD command is invoked.
Notify your application every time an ObjectARX® application
is loaded or unloaded.
to specific entities or objects within a drawing database.
your application in MDI mode of a change to the current drawing
document, such as opening of a new drawing document, activating
a different document window, and changing a document's lock status.
you each time a specific object is changed, copied, or deleted.
the exception of editor reactors, there is one type of reactor for
each reactor category. Editor reactors encompass a broad class of
reactors: for example, DXF™ reactors that notify an application
when a DXF file is imported or exported, and Mouse reactors that
notify of mouse events such as double-clicks.
Within the reactor categories,
there are many specific events to which you can attach a reactor. AutoCAD allows
users to perform many different kinds of actions, and it is up to
you to determine the actions that you are interested in. Once you
have done this, you can attach your reactor “auto-dialer” to
the event, then write the callback function that is triggered when
the event occurs.