# LAYDEL Command [GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md) **Function Description:** > Delete all objects on a layer and purges the layer **Menu:** > Format\>Layer Tool\>Layer Delete **Command Entry:** > LAYDEL **Command Prompt:** > Input LAYDEL at Command line, Command prompt is displayed: > > Select object on layer to delete or \[Type-it/Undo\]: Select an object or input specified option > > Input T, the prompt is displayed: > > Enter layer name or \[?\]: Input layer name ## Other versions with matching text [GstarCAD 2011](../../../2011/Commands/L/LAYDEL%20Command--799fe6c11691.md)