Table of Contents

Method Add

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Add(DxfSymbolTableRecord)

Adds a record made in code to the table, as AutoCAD's Add: its record written before the table's ENDTAB in the file's own style, with a handle of its own, the table as its owner and the table's count raised by one. The same object is the record of the table from then on. The block table takes a block named *U or *D as AutoCAD's takes one, an anonymous block it names itself, *D1 the first (see DxfBlockTable).

public void Add(DxfSymbolTableRecord value)

Parameters

value DxfSymbolTableRecord

The record, of the table's own kind, with its Name given.

Exceptions

ArgumentNullException

Thrown when the record is null.

ArgumentException

Thrown when the record is of another kind of table, has no name or one AutoCAD does not take, or its name is the table's already.

InvalidOperationException

Thrown when the record is in a file already, or the file has no such table.