CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1649 

CAD tip CAD tip # 8857:

Question CAD 
 %  platform  category 
Q - question

Move all blocks containing a specific layer to that layer.

A - answer The free LISP utility LayNsel (see selects and moves blocks and other objects to a specified layer.

After you load the LayNsel.vlx file and start the LAYNSEL command, first pick an entity to select its layer (it can be also nested in a block). Then either press Enter to manually select objects to move to that layer or press "B" to automatically select all blocks (block references, inserts) containing the specified layer and move them to that layer.

Please note that only the INSERT will be placed on that layer, the individual entities in the block definition won't be changed (you can use SETBYLAYER for this).

If you want to perform another operation with the selected blocks, use the "P" (previous) selection mode in your subsequent editing command.

100% *  CAD 
15.10.2012    3895×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12760:Replace texts with blocks of the same name - Txt2Ref.
Tip 12215:How to change truecolor DWG objects to indexed ACI colors?
Tip 12036:Sel2BlkRef (blockify) - replace repeating objects with block references
Tip 11967:How to apply a changed drawing template (DWT) to existing drawings?
Tip 11751:toMulti converts polylines to multi-lines driven by a definition table.

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.