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: 6221

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 Download

ACADADTACADMCivilMap
100% *  CAD 
12.2.2010    19580×  

See also:
Tip 13938:ModDXF - utility for bulk modification/display of internal DXF properties in DWG entities.
Tip 13831:ReplMTcol - recoloring parts of text in paragraph Mtext.
Tip 13749:How to add the SEARCH/REPLACE command into AutoCAD Web?
Tip 13522:LookupXLS - populating DWG texts from Excel spreadsheets.
Tip 13311:How to bulk transfer iLogic rules and forms from Inventor source documents?


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