- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Folks,
I have implemented an VisibilityOverrule which temporarily hides all entities of a drawing.
After it is enabled I us a jig class to interact with the user inside the cleared drawing. For all visual styles except wireframe2d, the entities are not hidden automatically. I have to refesh the viewport. The only way I found so far is to call the undocumented function acedColorSettingsChanged. After it is called. All entities are gone. I tried different ways to achieve the same result but without success.
I tried:
acedCommandS(RTSTR, L"REGEN", RTNONE)
acedCommandS(RTSTR, L"REGENALL", RTNONE)
acedUpdateDisplay
acedUpdate
AcGsView::invalidate()
AcGsView::update()
What else could it be? Any ideas?
Thanks,
Martin
Solved! Go to Solution.