There are many types of AutoCAD. reactors. Each reactor type responds to one or more AutoCAD events. Reactors are grouped into the following categories:
Notify your application each time an AutoCAD command is invoked.
Notify your application every time an ObjectARX. application is loaded or unloaded.
Correspond to specific entities or objects within a drawing database.
Notify 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.
Notify you each time a specific object is changed, copied, or deleted.
With 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.