# PURGE Command [GstarCAD 2011](../../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.md) will be displayed. > > If you enter -purge at the Command prompt, [options are displayed at the Command prompt](PURGE%20Command%20%28Command%20Line%29.md). ## Other versions with matching text [GstarCAD 2012](../../../2012/Commands/P/PURGE%20Command%20%28Reference%29.md)