ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dose ARX have some function which can Partial refresh the screen?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
421232206
532 Views, 2 Replies

Dose ARX have some function which can Partial refresh the screen?

the fuction below can refresh CAD's whole drawing area .

void UpdateScreen()
{
    actrTransactionManager->flushGraphics();
    acedUpdateDisplay();
}
I wonder whether there is a funtion that can refresh partially?  becaused mybe the dwg is very large and has too many entities,   the UpdateScreen() may take too much resource.  and If I know the area to be refreshed on the screen, so ,is there a fuction to do this in OjbectARX?

Technology change world! Coding change technology! We coders are coding!
2 REPLIES 2
Message 2 of 3
maisoui
in reply to: 421232206

I don't know such a function. But what is your goal? You want to update a set of entities?

 

From acedUpdateDisplay documentation:

AutoCAD manages its display area in the most efficient way by keeping track of which portions of the screen are affected as you make various calls to AutoCAD

 It seems that acedUpdateDisplay is optimized. Maybe you can consider to use commands _.regen or _.regenall?

 

Regards,

Jonathan

 

--
Jonathan
Message 3 of 3
421232206
in reply to: maisoui

thanks,guy, You words explained my concerns, I thought it would be refresh the whole dwg.
Technology change world! Coding change technology! We coders are coding!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost