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: 20616
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 7038:

   
Question CAD 
 %  platform  category 
Q - question

How to replace some of your blocks with a new block?

A - answer If you need to replace only some instances (references) of the given block with a new block, you cannot use the standard functions for block replacements (BLOCKREPLACE, INSERT, etc.) - these functions modify the definition of the block and so they influence all its references (insertions).

To replace only selected occurrences of the given block in your DWG drawing you can use the free LISP utility CADstudio RIblock - see Download.

The RIblock command prompts for the name of the replaced block (or for picking its sample), you can select the references of this block (to be replaced) and then you specify (by picking or by name) the new block. This new block will replace the selected references of the original block. Possible attributes with the same name (tag) can be automatically transferred from the replaced blocks.

In AutoCAD Electrical, you can also use the AESWAPBLOCK command.

ACAD
100% *  CAD 
4.11.2009    27301×  
Prices - CAD eShop:
applies to: AutoCAD ·

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:
Simply link AutoCAD LT blocks to Excel table data.
Excellink LT 2006 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