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

CAD tip CAD tip # 12036:

Question CAD 
 %  platform  category 
Q - question

Sel2BlkRef (blockify) - replace repeating objects with block references

A - answer The freeware LISP utility Sel2BlkRef can automatically replace repeating objects (object copies) used in a DWG drawing with references (inserts) of an automatically generated block. This can save both DWG file size and time spent on future modifications of such repeated objects.

Download the Sel2BlkRef.vlx file from, load it with APPLOAD and type the SEL2BLKREF command.

Select the objects to be replaced (any object type). The first object in the selection set will be used to auto-create the block definition. Optionally, you can also select all similar objects (of the same type - e.g. solids, and in the same layer). This "blockify" tool then replaces all individual objects in the selection with a reference (insert) of the generated block. The drawing content will not change visually. The more complicated objects you are processing, the more drawing file size you will save.

The block references are put in the same layers as the original entities. The originals are deleted.


See also QSELECT, SELECTSIMILAR and SolSimilar for selecting same or similar objects.

100% *  CAD 
17.10.2018    598×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11289:Adding, multiplying and rounding numbers inside DWG drawing texts - NumInText.
Tip 11160:Dynamic display of layer/block/text style/linetype properties.
Tip 11017:How to select a DWG object by its internal ID, its "handle"?
Tip 10574:Four methods for exploding blocks in AutoCAD.

Back   All CAD Tips All CAD tips&tricks

PaintSelect - select objects by cursor painting - paint selection. « | » SolSimilar - select geometrically similar 3D solids.

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.