I StartTransaction to modify a document, to freeze layers. Before commit the transaction I want to thaw one of the layers while it's property of IsModified is true. I can't thaw it. IsModified is readonly. How can I thaw the layer before commit the transaction? I can't abort the transaction as other layers I don't want cancel.
In ACAD you can thaw a layer in the process of freezing by undo. I need to start and commit for each layer?
Solved! Go to Solution.
Regen after Commit the layer show. I need regen before commit.
Search in the posts found Tony's answer: http://forums.autodesk.com/t5/NET/Regen-layer/m-p/
Reference AcMgdInternal.dll, and then use:
ObjectId layers, int regenPending);
The first parameter is an array contianing the ObjectId's
of the LayerTableRecords for the layers to be regenerated.
For the second parameter, pass the result of this
static property on the same class: