Method CloseBlockEditor
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CloseBlockEditor(bool)
Closes the Block Editor, as BCLOSE: the block saved first (SaveBlock()) where asked, else read back as it was opened or last saved (a new block never saved not made at all); the space shown before BEDIT shown again.
public CadEditResult CloseBlockEditor(bool save)
Parameters
saveboolWhether the changes are saved; false discards them.
Returns
- CadEditResult
What came of it: refused where the editor is not open or a command's group of edits is.