Method DetachXref
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DetachXref(DxfBlockTableRecord)
Detaches an external reference, as AutoCAD's DetachXref: every INSERT of it erased, in model space, paper
space and the blocks, then the records it brought, those named after it with a | (the layer COLUMN|steel and
the like, of the layer, linetype, text style, dimension style and block tables), and last its block.
public void DetachXref(DxfBlockTableRecord xrefBlock)
Parameters
xrefBlockDxfBlockTableRecordThe block of the external reference, of this drawing.
Exceptions
- ArgumentNullException
Thrown when the block is null.
- ArgumentException
Thrown when the block is of another drawing, or is no external reference.
- InvalidOperationException
Thrown when the block is erased.