Reactor Basics

A reactor is an object you attach to the drawing editor, or to specific entities within a drawing. Extending the metaphor of the pager, the reactor object is an automatic dialer that knows how to call your pager when something significant happens. The pager within your application is an AutoLISP® function called by the reactor; such a function is known as a callback function.

Note: The complexity of the application code and the level of expertise required for these final two lessons is much higher than Lessons 1 through 5. There is a great deal of information presented, but it is not all explained at the same level of detail as in the previous lessons. If you are a beginner, do not worry if you don't get it the first time. Consider this just a first taste of some of the very powerful but more technically difficult features of Visual LISP®.