2008-05-15 18:15 UTC
The VLR reactors are pretty limited when going from document -> lisp interpreter -> OpenDCL.arx. I guess it's because of the interpreter, objects don't get released during CommandEnded, AttachEnded, and DataBase call-backs. Or maybe it's because dcl_Functions are commands?
In any event, it would be nice if OpenDCL had some built-in event handlers. The ones I've had the most trouble with are when Objects are added or removed from the Drawing Database. Most of the others work fine: CommandEnded works for most Object Table update functions. Obviously, this would be for Modeless, Dockable and Palette forms. These forms need to react to the Documant environment real-time. Right now I have refresh buttons when reactors aren't working.
Maybe:
dcl_objectAppended
dcl_objectUnAppended
dcl_objectReAppended
dcl_objectErased
dcl_objectUnErased
Any thoughts? Any others?
In any event, it would be nice if OpenDCL had some built-in event handlers. The ones I've had the most trouble with are when Objects are added or removed from the Drawing Database. Most of the others work fine: CommandEnded works for most Object Table update functions. Obviously, this would be for Modeless, Dockable and Palette forms. These forms need to react to the Documant environment real-time. Right now I have refresh buttons when reactors aren't working.
Maybe:
dcl_objectAppended
dcl_objectUnAppended
dcl_objectReAppended
dcl_objectErased
dcl_objectUnErased
Any thoughts? Any others?