chavlji Posted March 1, 2009 Posted March 1, 2009 Hello. I set the following reactor, to call Callback whenever user PANs then viewport: (defun CallBack(event parameter) (If (eq (car parameter) "VIEWCTR") (princ "Pan!") ) ) (if (not PanReactor) (setq PanReactor (vlr-sysvar-reactor nil '((:vlr-sysvarchanged . CallBack))) ) ) However it never writes "Pan!". It seems to me that changing "VIEWCTR" doesnt even reacts to the following reactor... so how to trap PAN and ZOOM actions? Quote
ASMI Posted March 1, 2009 Posted March 1, 2009 Reactors doesn't work with some read only variables. For example DATE, CMDACTIVE or VIEWCTR. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.