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

CAD tip CAD tip # 7214:

Question CAD 
 %  platform  category 
Q - question

Batch replace different blocks with a single block.

A - answer If you need to replace a series of graphically similar or identical blocks (block references) with another (single) block, you can use the CADstudio RIBlock utility.

E.g. your drawing may contain blocks named 3.1601, 3.1602, 3.1603..., which are graphically identical (and each one is inserted only once). With RIBlock you can replace all such blocks with a single one, e.g. "B3.16":

  • Load RIBlock (APPLOAD) and run it with the RIBLOCK command
  • On the first selection prompt - select blocks to replace - just press Enter (to input block name)
  • Type "3.16*" as the block name
  • On the object selection prompt (which references) enter "_all" and finish the selection with (Enter)
  • The selection of the new (replacement) block can be done by picking it or by entering its name
  • Wait for blocks being replaced; possible attributes with the same tags will be automatically synchronized.

You can download the free LISP utility "CADstudio RIblock" from

100% *  CAD 
12.2.2010    6460x  
Comments   Tell a friend

See also:
Tip 10972:Replace text fields with static texts.
Tip 10802:Simplifying 3D drawings by replacing repeating 3D solids with blocks.
Tip 10574:Four methods for exploding blocks in AutoCAD.
Tip 9743:How to use XY coordinates from Excel as polyline vertices in AutoCAD?
Tip 9265:RENAME on steroids - complex renaming of AutoCAD objects.

Back   All CAD Tips All CAD tips&tricks

How to use 3DFACEs as a definition for terrain surface? « | » Editing selected segments of a polyline.

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   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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.