Method Erase
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Erase()
Erases the block from the drawing, as AutoCAD's Erase of a block nothing inserts: its BLOCK, its entities and its
ENDBLK taken out of the BLOCKS section and its BLOCK_RECORD out of the block table, each handle not given again and
what they owned removed with them when the file is saved.
public override void Erase()
Exceptions
- InvalidOperationException
Thrown when the block is in no file or is erased already; when it is the block of a layout; when an INSERT, a dimension or a table of the drawing is drawn by it, or a dimension style, the override of a dimension of R12 or the header names it as an arrow; or when an object of the file points at it.