Table of Contents

Property BlockTableRecord

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

BlockTableRecord

Gets or sets the block the INSERT places, as AutoCAD's BlockTableRecord gives its id: the record of the block table named by Name; null where the drawing has no block of that name. A copy in no file yet, as Explode() gives a nested INSERT, places the block of the drawing it was copied from, as AutoCAD's copy keeps its block's id, until it is added to a drawing: a copy in no file gives the block of the drawing it was copied from while that block is there, renamed or not.

public DxfBlockTableRecord BlockTableRecord { get; set; }

Property Value

DxfBlockTableRecord

Set, a block of the same drawing, written as its name; the attributes are kept as they are.

Exceptions

ArgumentNullException

Thrown when the block set is null.

ArgumentException

Thrown when the block set is in no file or another, is a layout, is erased, or would make the block the INSERT is in insert itself.

InvalidOperationException

Thrown when the INSERT is erased.