New CADforum look launched.
Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
CAD tip # 7038:
Question
A
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
*CAD
4.11.2009
30093×
applies to: AutoCAD ·