Community
I think you need to use this to get the document to redraw - regen takes a long time on large drawings so I use this method in one of my routines.
Using lock As DocumentLock = acDoc.LockDocument acDoc.TransactionManager.EnableGraphicsFlush(True) Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction() '***Do stuff acDoc.TransactionManager.QueueForGraphicsFlush() acDoc.TransactionManager.FlushGraphics() acDoc.Editor.UpdateScreen() acTrans.Commit() End Using End Using
Sorry I forget where i found it so cant give proper credit.