#

## erase

Erase paint from the layout inside the bounds of the cursor box.

### Shortcuts:

> Key macro Control-D implements the command "erase $", which indicates to erase all paint and labels in the cursor box.
> Key e typed while the cursor is in a layer box in the GUI toolbar implements the command "erase layer", passing the layer type in the toolbar.
> Key Shift plus Mouse button 2 implements the command erase cursor when using the "box tool" in a layout window.

### Usage:

> erase [layers|cursor]

> > where layers is a comma-separated list of layer types to be erased, or * to indicate all paint but not labels, or $ to indicate both paint and labels.

### Summary:

> The erase command erases paint inside the cursor box in the current edit cell. Without arguments, everything inside the box is erased. With argument layers, only the indicated layers are erased.

> Note that some layer types, such as DRC paint, cannot be erased. Feedback areas are not considered paint and should be erased using the feedback clear command.

> The option "erase cursor" picks the layers at the position of the (X11) cursor and erases these from the area of the cursor box.

### Implementation Notes:

> erase is implemented as a built-in magic command.

### See Also:

> paint

Return to command index

Last updated: November 8, 2004 at 3:02pm