About the Events in AutoCAD (VBA/ActiveX)

AutoCAD supports different events that allow you to monitor changes to the application environment or drawings.

There are three types of events in AutoCAD:

Subroutines that respond to events are called event handlers and are executed automatically each and every time their designated event is triggered. Information contained in events, such as the drawing name in the BeginOpen event, are passed to event handlers through parameters.

Note: Both VBA and AutoLISP support the use of events. However, AutoLISP refers to events as reactors and requires the use of specialized functions that begin with the prefix VLR-*. You can learn about the VLR-* functions in the AutoLISP Developer's and Reference guides.