| ||||||||||||
Keyboard shortcut:
B2B
Toolbar button: none
Compatible with AutoCAD Versions:
2000, 2000i, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010
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 may not have known or cared that to make the objects within the block able to change layers 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 "byblock".
User configurable options: none
Known limitations:
Alternate uses:
None reported. If you have an alternate use for this command submit it here.
Command: B2B
Command: BLK20BBBlock entities to layer 0 & color/linetype/lineweight to BYBLOCK..
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 byblock--
BLK20 Converts all entities in a block to layer "0" (zero).
BLK20BL Converts all entities in a block to layer "0" (zero) and also changes the color, linetype, and lineweight (if applicable) to "bylayer".
| ||||||||||