BLOCKREPLACE — Replace Block with Another
Changes every reference of a block to another one (Express Tools).
- Command:
BLOCKREPLACE· Global name:_BLOCKREPLACE - Ribbon: Insert › Block
Changes every reference of a block to another one, like BLOCKREPLACE from the AutoCAD Express Tools.
Usage
- Enter BLOCKREPLACE and the name of the block to replace (
?lists those in the drawing).
Enter the name of the block to replace or [?]:
- Enter the name of the block that replaces it.
Enter the name of the block to replace it with or [?]:
- Choose whether to purge the old block, which nothing uses any more.
Purge unreferenced items when finished? [Yes/No] <Y>:
Notes
- Every reference of the block changes, also those inside other blocks; each one keeps its point, scales, rotation, layer and the values of the attributes with the same tag.
- A block cannot be replaced with one that contains it. The Express Tools do not load in the AutoCAD console: it has a unit test, checked against their documentation.