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

one by one update object in drawing

1 REPLY 1
Reply
Message 1 of 2
Anonymous
242 Views, 1 Reply

one by one update object in drawing

Hi Guys,

 

I am creating a program place object on drawing by using loop. I may need to place 1000 object. at the moment the drawing graphic part doesn't update which placing, it update after placed them all.

 

I call my func from a PaletteSet, after place them all i use 

acApp.DocumentManager.MdiActiveDocument.Editor.Regen()

 

I would like to see object appear on the drawing while placing them, like object.update in COM

 

Any idea?

 

Thanks very much

1 REPLY 1
Message 2 of 2
Hallex
in reply to: Anonymous

Try somethig like

 

While

 

< your code to place single stuff >

 

trans.QuyeForGrafhicsFlush()

 

End while

 

doc.TransactionManager.FlushGraphics()

 

trans.Commit()

 

ed.Updatescreen()

 

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost