# PURGE Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [P](%28P%29.md)
**Function Description:**
> Remove unused named items, such as block definitions and layers, from the drawing
**Menu:**
> File\>Drawing Utilities\>Purge
**Command Entry:**
> PURGE
**Command Prompt:**
> If you enter purge at the Command prompt, ["Purge" Dialog Box](../03%20Dialog%20Boxes/Purge-Dialog%20Box--fcebfaf756c1.md) will be displayed.
>
> If you enter -purge at the Command prompt, [options are displayed at the Command prompt](PURGE%20Command--899a65b1f992.md).
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/P/PURGE%20Command--d0c37f423d3e.md)