Replacing Blocks One by Another

Use the ReplaceBlock command to replace all instances of a specified Block by another specified block. The command lets you to purge the definitions of the replaced blocks.

To replace block instances by another block:

  1. Do one of the following:
    • On the ribbon, click XtraTools > Block > Replace Block.
    • On the menu, click XtraTools > Block > Replace Block.
    • Type ReplaceBlock.
  2. In the dialog box, do the following:
    • In Blocks to replace, select the name of the block to replace.
    • In Replacing block, select the name of the replacement Block.
  3. Optionally, select the following options:
    • Clean unreferenced items. Purges the definitions of replaced Blocks.
    • Update BlockAttributes for Block replacements. Updates all instances of Blocks with new or modified BlockAttributes.

      Note: You can change or add BlockAttributes to an existing Block definition by redefining the Block using the MakeBlock command. You can also modify the definition and properties of BlockAttributes with the EditComponent command. Both commands update the geometry of all instances of the redefined Block, but they do not automatically update the BlockAttributes that have been modified.

  4. Click Apply.

Access

Command: ReplaceBlock

Menu: XtraTools > Block > Replace Block

Ribbon: XtraTools > Block > Replace Block