Lets say you are looking for a way to force an update of the AcDbBlockReferences after modifying its AcDbBlockTableRecord without having to call REGEN?
The simplest and fastest way to do this is to iterate the current space, open all the AcDbBlockReference entities for write and call the assertWriteEnabled() method. Because your block definition could be nested in another block definition, you should call assertWriteEnabled() on all AcDbBlockReferences that are present.
As an alternative method (which may decrease the time spent on the process) and to avoid unnecessary ‘Undo’ information recording, you can temporarily turn off the Undo recording and restore it after the process. To do this, use the ‘AcDbDatabase::disableUndoRecording()’ method.

Leave a Reply to Tony TanzilloCancel reply