Table of Contents

Method GetEnumerator

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetEnumerator()

Gets an enumerator over the entities, in the order of the file, those appended after them: over the entities the block holds when the walk begins, so that foreach (DxfEntity e in db.ModelSpace) e.Erase(); erases them all, as it does in AutoCAD. An entity erased during the walk is passed over, and one appended is not reached.

public IEnumerator<DxfEntity> GetEnumerator()

Returns

IEnumerator<DxfEntity>

The enumerator.

Remarks

The linked columns of an MTEXT of a file before R2018, the MTEXT records its extended data of ACAD lists between ACAD_MTEXT_COLUMNS_BEGIN and ACAD_MTEXT_COLUMNS_END (1005), are part of that MTEXT, as they are in AutoCAD's database, and are not walked of their own: the MTEXT that lists them carries them, as DxfMText says, so that a walk that moves every MTEXT moves each column once. An MTEXT that lists its own handle among them is walked still.