-ReplaceBlock

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.

It is the command window variant of the ReplaceBlock command.

To replace block instances by another block:

  1. Type -ReplaceBlock at the command prompt.
  2. Specify the Block to replace:
    • Type the name of the Block to replace or specify the ? option to list existing Blocks.

      - or -

    • Use the Specify Block option to specify the Block in the graphics area.
  3. Press Enter to confirm the selection.
  4. Specify the replacement Block:
    • Type the name of the replacement Block or specify the ? option to list existing Blocks.

      - or -

    • Use the Specify Block option to specify the Block in the graphics area.
  5. Press Enter to confirm the selection.
  6. To specify whether to clean unreferenced definitions of replaced Blocks, type Yes or No.

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.

Access

Command: -ReplaceBlock

Related Topics

Replacing Blocks One by Another