# LAYMRG Command
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md)
## Function Description:
> Merge selected layers into a target layer, removing the previous layers from the drawing
**Menu:**
> Format\>Layer Tools\>Layer Merge
**Command Entry:**
> LAYMRG
**Command Prompt:**
> Select object on layer to merge or \[Type-it/Undo\]: Enter specified option
>
> When you enter T, the prompt is displayed:
>
> Enter layer name or \[?\]: Enter layer name
>
> After you enter layer name, the following prompt is displayed:
>
> Select object on target layer or type T: *Select an object or enter T*
>
> The layer you selected to merge into the target layer is deleted.
>
> After you enter T, the following prompt is displayed:
>
> Enter layer name or \[?\]: Enter layer name
## Other versions with matching text
[GstarCAD 2012](../../../2012/Commands/L/LAYMRG%20Command.md)