GstarCAD 2027 · Command Reference
Commands > L Command > LAYMRG
Function Description:
This command is used to merge the selected layer into the target layer and delete
the previous one.
Users can reduce the number of layers in a drawing by this
command. Objects on the selected layers are moved to the target layer, and the
original layers are purged from the drawing. If you enter -LAYMRG at the Command
prompt, options are displayed.
Command Access:
Icon:
Menu: Format > Layer Tools > Layer Merge
Ribbon: Home > Layer > LAYMRG
Toolbar: /
Command: LAYMRG
Alias: /
Command Prompts:
Select object on layer to merge or [Name]:

Select an object on the layer whose objects will be moved to the target layer.
Displays the Merge Layers dialog box, where you can select the name of a layer whose objects will be moved. Presses Ctrl + click to select more than one layer.
Removes the previous selection from the list of layers to merge.
Selects an object on the layer whose properties you want to retain.
Displays the Merge to Layer dialog box, where you can select the name of a layer where the objects will be moved.
Related References:
Related Tasks:
Article ID: 3768
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/laymrg-command-gstarcad-2027-3768.html