| ||||
Keyboard shortcut:
B2L
Toolbar button: none
Compatible with AutoCAD Versions:
13, 14, 2000, 2000i, 2002, 2004, 2005, 2006, 2007, 2008
Command to change the layer of the contents (entities) in a block to the layer zero and change them to "byblock" color, linetype, and lineweight (if applicable) without exploding the block. The layer that the block was inserted on remains the same. This command redefines the block in the drawing so every occurrence of the block is changed. It will change objects in nested blocks up to three levels deep.
Let's use an example. A new project is acquired and some of the drawing has already been done. The drawings have many strange layers and blocks. First order of business is to modify the drawings to fit the office's layer standards. However, the door block will not "change layers". When the block is listed it says that the block resides on the correct layer but the doors still reside on one layer and the door swings on another.
Don't explode it!
there is another way...
Obviously the entities inside the door block are on layers other than "0" (zero). Whoever created this block must not have known that when making a block, if you would like the layer of objects within a block to change with the block later, you must make the objects within the block on layer "0".
Since this block has already been created we must "recreate" the block and "do it right" this time. This command is designed to "dig" in to the block data and "fix" it so that the entities that are inside the block are on layer "0" and are color, linetype, and lineweight "bylayer".
User configurable options: none
Known limitations:
Alternate uses:
None reported. If you have an alternate use for this command submit it here.
Command: B2L
Command: BLK20BLBlock entities to layer 0 & color/linetype/lineweight to BYLAYER..
Select block:Select the block to convert
Changing block entity data............
--all entities in the block are changed to layer 0 (zero) and color, linetype, & lineweight to bylayer--
BLK20 Converts all entities in a block to layer "0" (zero).
BLK20BB Converts all entities in a block to layer "0" (zero) and also changes the color, linetype, and lineweight (if applicable) to "byblock".
|