Message 1 of 4
Problem with screen updating
Not applicable
04-19-2007
09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a very intense macro that is working on 43000+ 3D polylines. It has to zoom into each polyline segment and then perform a localized search for adjacent polylines and then do some detective work before moving on the the next segments and polylines.
The macro is working 100% correctly but I have two fundamental annoyances I do not know how to fix.
After a few thousand zoomwindows Autocad decides to stop updating the screen. It is still working, but not apparent to the user. How can I avoid this problem?
I thought it was do do with using modemacro but that does not seem to be the problem as it happens if i use modemacro or not. Note that with modemacro i show a percentage complete in 5 unit steps. so that is not alot of statusbar updating at all.
I have looked at the forum and tried DoEvent which did not seem to help me. Ideally, the screen will atleast keep refreshing. I am assuming it has to refresh for the select(crossing) to function correctly.
And advice greatly appreciated before i gain a few more grey hairs.
Andrew
The macro is working 100% correctly but I have two fundamental annoyances I do not know how to fix.
After a few thousand zoomwindows Autocad decides to stop updating the screen. It is still working, but not apparent to the user. How can I avoid this problem?
I thought it was do do with using modemacro but that does not seem to be the problem as it happens if i use modemacro or not. Note that with modemacro i show a percentage complete in 5 unit steps. so that is not alot of statusbar updating at all.
I have looked at the forum and tried DoEvent which did not seem to help me. Ideally, the screen will atleast keep refreshing. I am assuming it has to refresh for the select(crossing) to function correctly.
And advice greatly appreciated before i gain a few more grey hairs.
Andrew