# LAYMRG 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 LAYMRG command is used to merge specified layer to target layer and delete previous one. ## Command Access: > **Ribbon:** Home \> Layer ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/Pull%20down.GIF)\> LAYMRG **Menu:** Format \> Layer Tools \> Layer Merge **Command:** LAYMRG ## Command Prompts: > Select object on layer to merge or \[Name\]: > Select object on target layer or \[Name\]: ## Function Description: ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/LAYMRG-1.png) ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/LAYMRG-2.png) Users could reduce layer number by this command. The layer of selected object will be replaced by the layer of target object. Select the "Name" option, the following dialog box pops up: ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/LAYMRG-3.png) Inputting “-laymrg” under command prompt, it will display options. ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/L/LAYMRG%20Command.md) · [GstarCAD 2017](../../../2017/Commands/L/LAYMRG%20Command.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/L/LAYMRG%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/L/LAYMRG%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/L/LAYMRG%20Command.md)