You may have objects on the wrong layer–in fact, you may not want to even keep the layer those objects are on. The solution is the LAYMRG command. This is a guest post by Will Forty, who has a great blog called HowToAutoCAD.com.
“I was recently asked if there was a quick way to put all the objects on a certain layer onto another layer, which reminded me of this little beauty that you need to know about.
LAYMRG is a command for manipulating layers in AutoCAD, and gives you the facility to merge two or more layers together so that the objects end up on the final target layer that you choose. The old layers that now contain no objects are removed, effectively merging the layers. Precisely what you’d expect from a command named LAYMRG.
Whilst this feature alone is very useful, this command can also be really helpful for getting rid of unwanted layers in your drawing. This has happened to all of us – you’re working away and there’s a layer in the drawing that refuses to allow you to delete it! Probably this is because it’s used within a block, or perhaps a block within a block, and it can be a real nightmare trying to identify where the offending object is that is using it.
A workaround to the problem is to just merge it with, say, layer 0, so that you get rid of the offending layer, and whatever was using it now is on Layer 0.
So that’s my piece for today – LAYMRG, a really useful tool you should remember!”
I just wanted to add the prompts:
At the Select object on layer to merge or [Name/Undo]: prompt, select an object on the layer that you want to delete. All objects on that layer will move to the layer you’ll specify next. The prompt repeats, so press Enter to continue.
At the Select object on target layer or [Name]: prompt, select an object on the layer that you want to merge to. All objects on the first layer will now be on this target layer.
You’ll need to confirm the change.
Will Forty’s HowToAutoCAD blog aims to show you “How to use, customise and ultimately master AutoCAD.” I suggest that you browse through the posts. If you find it valuable, you can subscribe to get e-mail updates when he publishes a new post.