CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6311

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    11474×  

See also:
Tip 12837:RenameCSV - rename layers, blocks, layouts, views, linetypes using Excel tables
Tip 12760:Replace texts with blocks of the same name - Txt2Ref.
Tip 12215:How to change truecolor DWG objects to indexed ACI colors?
Tip 12131:Error: no function definition: VLAX-ENAME->VLA-OBJECT or VLAX-VLA-OBJECT->ENAME
Tip 12036:Sel2BlkRef (blockify) - replace repeating objects with block references


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   



Featuring:
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 is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist