[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Remove Unwanted Layers in Blocks
Tip# 4224 By Lloyd Beachy On 16-Dec-2013
0
Rated By 0 users
Categories : Layer Tools
Software type : AutoCAD 2014
Rename File To : No Files to download.
Blocks often have hidden layers that we don’t really want. This tip provides an easy way to get rid of them.

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

"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."

Notes from Cadalyst tip reviewer Brian 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.
 

 

Average Rating:
0


User comments
Comment by Akim,Marina
Posted on 2013-12-16 14:02:05
If you want to keep the line types from some layers you need to select this objects and change the linetype from ByLayaer to Hidden or whatever you need. Then go to Settinds and uncheck Force object linetype to ByLayer.
Comment by Azbell,Nicholas
Posted on 2013-12-16 14:19:10
I prefer "laydel". Dangerous, but handy.
Comment by DeShawn,Bill
Posted on 2013-12-16 14:52:00
Use BF0.lsp for a Block Fix changing all objects within to Layer 0. Find that among others here: http://my.sterling.net/~bdeshawn/AutoLISP.htm


Log In