CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 6371

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 Download) 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    6858×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 14033:Clipping blocks, images, curves, xrefs - everything, into any shape
Tip 13938:ModDXF - utility for bulk modification/display of internal DXF properties in DWG entities.
Tip 13878:SelectSimilar - extended selections for AutoCAD, incl. LT and Web versions
Tip 13858:Is there also a SETBYBLOCK command?
Tip 13855:DBXscanLayers and DBXscanBlocks - bulk report content of DWG files in a folder.

Back   All CAD Tips

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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