# PURGE Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [P](%28P%29.md) Remove unused named items from the drawing. Command Access: > **Command entry:** -PURGE Command Prompts: > Purge: \[baTch/All/Blocks/Dimstyles/LAyers/LTypes/STyles\]: *Enter an option* > > **All :** Remove all unused named items. > > **Blocks :** Remove all unused named blocks. > > **Dimstyles :** Remove all unused named dimension styles in current drawing. > > **LAyers :** Remove all unused named layers. > > **LTypes :** Remove all unused named linetypes. > > **STyles :** Remove all unused named textstyle. ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/P/PURGE%20Command--ac2932e60576.md)