Method AppendAttribute
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
AppendAttribute(DxfAttributeReference)
Adds an attribute made in code to the INSERT, as AutoCAD's AppendAttribute: after its other ATTRIBs, before
their SEQEND, with a handle of its own and the INSERT as its owner, its look and groups as made; every other record
keeping its handle and bytes. An INSERT with no ATTRIB yet is given its attributes-follow flag (66) and a SEQEND.
The same object stands for the new ATTRIB from then on.
public void AppendAttribute(DxfAttributeReference attribute)
Parameters
attributeDxfAttributeReferenceThe attribute, made in code, as SetAttributeFromBlock(DxfAttributeDefinition, GeoTransform3) fills one.
Exceptions
- ArgumentNullException
Thrown when the attribute is null.
- ArgumentException
Thrown when the attribute has no tag, or a look the file's version cannot hold.
- InvalidOperationException
Thrown when the attribute is in a file or of an INSERT already, or the INSERT is erased.