# LAYDEL Command [GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [L](Help%20System/GSTARCAD/2020/Commands/L/(L).md) The LAYDEL command is used to delete all objects on the same layer. ## Command Access: > **Ribbon:** Home \> Layer![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/Pull%20down.GIF) \>LAYDEL **Menu:** Format \> Layer Tools \> layer Delete **Command:** LAYDEL ## Command Prompts: > Select object on layer to delete or \[Name\]: ## Function Description: ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/LAYDEL-1.png) ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/LAYDEL-2.png) Users could use this command to delete layers and block definitions. It will delete all objects on selected layer from block definition and redefine blocks. In the "Name" option, users could select layer names to delete selected layer. ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/L/LAYDEL%20Command.md) · [GstarCAD 2017](../../../2017/Commands/L/LAYDEL%20Command.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/L/LAYDEL%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/L/LAYDEL%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/L/LAYDEL%20Command.md)