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: 5802
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 www.cadstudio.cz/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    21090×  
Prices - CAD eShop:
applies to: AutoCAD ·

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:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout 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