How To Remove Unwanted Layers In Autocad



  1. How To Remove Unwanted Layers In Autocad Files
  2. How To Remove Unwanted Layers In Autocad Blocks
  3. How To Remove Unwanted Layers In Autocad

Tipster Lloyd Beachy shares a trick in AutoCAD to get rid of unwanted layers that are hiding in your blocks.

How To Remove Unwanted Layers In AutocadHow

The Purge dialog box displays a tree view of object types, called named objects, with items that can be removed from the drawing. To purge unreferenced layers, use one of the following methods: To purge all unreferenced layers, choose Layers. To purge specific layers, expand Layers, and choose the layers to be purged. This is the most popular trick among AutoCAD users. AutoCAD will remove unused layers and styles. The trick to prevent AutoCAD removing those layers is by using them. Create some objects that use those layers and styles. Draw some lines, each of them uses a layer that you want to keep. Similarly, create texts and dimensions for each style. It will not remove 'hidden' objects from drawings, but it will remove any 'hidden' information that you cannot see in the drawing. As far as removing unused layers, make sure that the blocks you are using do not have objects on the layers that you are trying to remove.

'When working with blocks that have been copied from one drawing to another, I will invariably come across a block that has pulled in layers that I didn’t want to have included.

'If you know which block is the offending block, you can edit the block definition, change the objects to layer 0, then purge out the layer (assuming no other blocks use that layer). A much easier way to do this is with the Layers Property Manager. Simply right-click on the unwanted layer and select Merge selected layer(s) to… You will be asked to specify the target layer you want the objects moved to. This will cover every block in the drawing and purge out the layer with one simple step.'

How To Remove Unwanted Layers In Autocad Files

Notes from Cadalyst tip reviewerBrian Benton: Blocks often have hidden 'gems' that we don’t really want: layers, text styles, dim styles, etc. This tip provides an easy way to get rid of those unwanted layers. It even works for layers that aren’t in a block but you want them gone anyway. The Merge layers option will move all of the objects on a specific layer to another layer, then delete the offending layer. No data is lost — just the layer. This is a handy tool to use when you get a file that has a layering system you just don’t want to use. You can also use this trick to migrate objects to a specific layer. Maybe your company’s layer practices or standards have changed. Or perhaps you have files from three different agencies and they each used a different layer name for the same thing.

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.

Autocad

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…

Autocad

How To Remove Unwanted Layers In Autocad Blocks

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!

How To Remove Unwanted Layers In Autocad

Will