AfmSuspendReactor and AfmResumeReactor
AfmSuspendReactor and AfmResumeReactor
Syntax
(AfmSuspendReactor)
(AfmResumeReactor)
Comments
The Archibus Overlay reacts to entity changes, whether you make these changes using AutoCAD commands or using AutoLISP.
Usually, you want the Overlay's reactor to fire; for instance, if you have changed a portion of the xdata, you will want the Overlay to recatalog the record and regenerate the asset text.
Sometimes, however, you want to control all aspects of the update yourself.
In these cases use the (AfmSuspendReactor) call to stop the reactor from
responding to changes. Next, make your changes and use the (
AfmResumeReactor
) call to reawaken the reactor. Take care to
ensure that users cannot cancel your routine while the reactor is suspended,
because then the Overlay will no longer automatically respond to changes.