Routines (alphabetical) > Routines: I > IDELETE

# IDELETE

## Syntax

IDELETE [, iToolID]

## Arguments

### iToolID

This optional argument contains the identifier for the specific iTool to delete. If not provided, the current tool is destroyed.

## Keywords

None.

## Example

Enter the following at the IDL Command Line:

IPLOT, IDENTIFIER = PlotID1ISURFACE, IDENTIFIER = SurfaceID1

Two tools are created: an iPlot tool and an iSurface tool.

Next, enter the following at the IDL Command Line:

IDELETE, plotID1

The iPlot tool is deleted, leaving only the iSurface tool.

## Version History

6.0 | Introduced
7.1 | Routine name changed from ITDELETE to IDELETE.

## See Also

ISETCURRENT, IGETCURRENT, IRESET