Table of Contents

Method GetIndex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetIndex(DxfEntity)

Gets where an entity stands in the group, as AutoCAD's GetIndex: 0 for the first.

public int GetIndex(DxfEntity entity)

Parameters

entity DxfEntity

The entity.

Returns

int

Its index.

Exceptions

ArgumentNullException

Thrown when the entity is null.

ArgumentException

Thrown when the entity is not in the group, as AutoCAD answers eInvalidInput.