New CADforum look launched.
Over 1.077.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.077.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 # 7214:
Question
A
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
*CAD
12.2.2010
20374×