Method SaveBlock
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SaveBlock()
Saves the block open in the Block Editor, as BSAVE: its edits made final, every INSERT of it drawn anew (their
attributes are not synchronised, as AutoCAD's ATTSYNC is not run), the anonymous *U blocks the INSERTs of a dynamic
block place worked out anew from it at their values, as AutoCAD's UpdateAnonymousBlocks works them, and the
steps of the session so far one undo step, "BEDIT". Undo inside the editor then stops here. For <Current Drawing>
model space keeps its edits.
public CadEditResult SaveBlock()
Returns
- CadEditResult
What came of it: refused where the editor is not open or a command's group of edits is; done with no record where nothing was changed since the block was opened or last saved.