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

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), run the RIBLOCK command and use the "Block name mask" box to enter the mask
  • - alternatively, switch first to the commandline mode (set CMDDIA to 0) and then run the tool using the RIBLOCK command
  • - on the first selection prompt - select blocks to replace - use the "Typed" option (to input block name)
  • Type "3.16*" as the block name mask
  • 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 can be automatically synchronized (from the original instance or from the replacement).

You can download the free LISP utility "CADstudio RIblock" from www.cadstudio.cz/download

ACADADTACADMCivilMap
100% *  CAD 
12.2.2010    6919×  
Comments   Tell a friend

See also:
Tip 11439:Replace block instances (incl. dynamic) with another block.
Tip 11289:Adding, multiplying and rounding numbers inside DWG drawing texts.
Tip 11223:Copy multiple DWG drawing texts to the Windows Clipboard.
Tip 11160:Dynamic display of layer/block/text style/linetype properties.
Tip 10972:Replace text fields with static texts.


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   



Featuring:
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.
TOPlist