Table of Contents

Method Remove

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Remove(DxfEntity)

Takes an entity out of the group, as AutoCAD's Remove, and the group out of its reactors.

public void Remove(DxfEntity entity)

Parameters

entity DxfEntity

The entity.

Exceptions

ArgumentNullException

Thrown when the entity is null.

ArgumentException

Thrown when the entity is not in the group.

InvalidOperationException

Thrown when the group is in no file, or is erased.

Remove(IEnumerable<DxfEntity>)

Takes entities out of the group, as AutoCAD's Remove of a collection.

public void Remove(IEnumerable<DxfEntity> entities)

Parameters

entities IEnumerable<DxfEntity>

The entities.

Exceptions

ArgumentNullException

Thrown when the entities or one of them are null.

ArgumentException

Thrown when one is not in the group, or is given twice; none is taken out then.

InvalidOperationException

Thrown when the group is in no file, or is erased.