Constructs a reactor object that notifies when an object is added to, modified in, or erased from a drawing database
The vlr-acdb-reactor function constructs a database reactor object.
(vlr-acdb-reactor data callbacks)
- data
- callbacks
-
A list of pairs of the following form:
(event-name . callback_function)
where event-name is one of the symbols listed in the “Database reactor events” table below, and callback_function is a symbol representing a function to be called when the event fires. Each callback function accepts two arguments:
reactor_object The VLR object that called the callback function
obj The database object (AutoLISP entity) associated with the event