Sysvars not updating while commands are active - Help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a custom object that displays based on view. I have an editor reactor setup that is triggered by viewChange. Within the view change I get the following setvars: ViewDir, ViewCtr, ViewSize and ScreenSize.
What appears to happen is that when I pan or zoom via the mouse it seems to trigger the viewChange and these variables update based on the current viewport.
If a command is active like Line or 3dPoly the viewChanged is triggered but these system variables don't update while in an active command.
Another command is Orbit which triggers 3dOrbit, while in this command the above is also the case.
I am using the acedGetVar to retrieve these variables.
Is there an alternative method I should be using to get the updated values of these variables while commands are active. Or is there a way to get the View information. CAD is updating the display but I am just unable to query these until a command is NOT active.
Thanks
Jim