CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3005 
Plex.Earth connects AutoCAD and Google Earth

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 www.cadstudio.cz/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.

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

See also:
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.
Tip 11492:Adding selected numbers in drawing texts - counting numbers (GrSelNum).


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   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools 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.
TOPlist