LAYMRG — Merge
Moves all the objects of some layers to another one and deletes the former.
- Command:
LAYMRG· Global name:_LAYMRG - Ribbon: Home › Layers
Merges layers: moves all objects of some layers to another one (the destination layer) and deletes the first ones. Use it to clean up drawings with duplicated or badly named layers.
Usage
- Enter LAYMRG or click Merge on the ribbon.
Select object on layer to merge or [Name]:
- Select objects on the layers to merge; the command line shows the chosen layers. Press Enter.
Select object on target layer or [Name]:
- Select an object on the destination layer.
- Confirm. The default answer is No.
… objects will move to layer … and layers … will be deleted. Do you wish to continue? [Yes/No] <No>:
Options
- Name (N): type the layer names instead of selecting objects (wildcards are accepted). At the destination prompt, the same option asks for its name.
Enter names of the layers to merge:
- Yes (Y) / No (N): merges or cancels.
Notes
- Layer 0, Defpoints and xref layers cannot be merged, and the destination cannot be one of the layers being merged.
- If the current layer is one of the merged layers, the destination layer becomes current.
- It can be undone with UNDO.