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

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    3304×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 11492:Adding selected numbers in drawing texts - counting numbers (GrSelNum).
Tip 11469:Why you should not use the DEFPOINTS layer to draw geometry?
Tip 11160:Dynamic display of layer/block/text style/linetype properties.
Tip 10693:List of blocks (incl. nested blocks) used in a DWG drawing.
Tip 10574:Four methods for exploding blocks in AutoCAD.

Back   All CAD Tips All CAD tips&tricks

Show 3D model in Showcase as 1:1. « | » How to create a 3D paraboloid in AutoCAD?

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 (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.