Repository navigation
LAYMRG Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Moves every object on the layers you choose onto a target layer, then deletes the emptied layers.
| Command | LAYMRG |
| Web app | Available |
| Since | 0.7.0 |
- At
Select object on layer to merge or [Name]:, pick objects on the layers to merge, or typeNand enter a layer name. If objects are already selected, their layers are used and this step is skipped. - Press Enter when the list of selected layers is complete.
- At
Select object on target layer or [Name]:, pick an object on the target layer, or typeNand enter its name. - The command line warns how many layers will be merged. At
Do you wish to continue? [Yes/No] <No>:, typeYto merge.
| Option | What it does |
|---|---|
Name (N) |
Type a layer name instead of picking an object. |
Yes (Y) |
Merges the layers. |
No (N) |
Cancels without changing anything. This is the default. |
- Layer
0and the current layer cannot be merged away. The target cannot be one of the source layers. - Objects inside block definitions and block attributes move to the target layer too.
- For scripts, type
LAYMRG <source layer> <target layer>. This merges one layer at once, without the confirmation. - The merge can be undone in one step.
LAYTRANS · LAYDEL · LAYMATCH · LAYERS · PURGE
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference