Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffDXF::RemoveEntity

# IDLffDXF::RemoveEntity

Syntax | Arguments | Keywords | Version History

The IDLffDXF::RemoveEntity procedure method removes the specified entity or entities from the DXF object.

## Syntax

Obj->[IDLffDXF::]RemoveEntity[, Type] [, INDEX=value]

## Arguments

### Type

An optional scalar string containing the DXF type to be removed from the DXF object.

Note: Specifying a block or layer entity will cause all the entities in that layer or block to be removed.

## Keywords

### INDEX

Set this keyword to a scalar long or a long array of indices to remove from the DXF object. If not set, or set negative, all entities of the given type are removed.

## Version History

5.2 | Introduced