Message 1 of 4
Regen in all viewports
Not applicable
10-14-2008
09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Within .Net, how would you cause a regen to happen on all viewports (i.e. the equivalent of clicking on each viewport within ACAD and typing 'REGEN').
I have tried sendStringToExecute with string 'REGEN', inconjunction with acedSetCurrentVPort with the vportNum, however it seems the sendStringToExecute is being placed on a stack and executed 3 times (if there were 3 viewports) at the end of my function, rather than it being executed immediately after it is called.
Any Ideas?
Many Thanks
Ross
I have tried sendStringToExecute with string 'REGEN', inconjunction with acedSetCurrentVPort with the vportNum, however it seems the sendStringToExecute is being placed on a stack and executed 3 times (if there were 3 viewports) at the end of my function, rather than it being executed immediately after it is called.
Any Ideas?
Many Thanks
Ross