Skip to main content

Block replace

Block replace
This is a free plugin!
Quick replacement of blocks or entities in a drawing with a specified block

Call options

  • ModPlus floating menu or palette
  • AutoCAD ribbon
  • Command line: _mpBlkReplace

Icon

mpBlkReplace_32x32 mpBlkReplace_16x16 mpBlkReplace_32x32_dark mpBlkReplace_16x16_dark

Related news and articles


Using

1

After launching the plugin, you need to select the Plugin work variant. The following operation modes are available:

Selected — allows you to replace all selected blocks with one specified block

Similar — allows to replace all instances of one block by one specified block

Replacing entities — allows you to replace selected entities of Circle, Ellipse and Point types with the specified block.

In the middle part of the plugin window, you can specify which properties of the replaced block should be repeated for the copied blocks: layer, scale, transformation (mirror and rotation), rotation only, attributes with the same name as the replaced block.

For the Similar option, you need to specify on which sheets the replacement should be performed:

2

Then you should choose one of the options for the Removing replaced blocks from DB:

  • Ask — after replacing blocks, you will be prompted to execute the following command:

Remove replaced blocks from the drawing database? [Yes/No]: — Yes — remove block descriptions from the drawing database; No — plugin termination.

  • Automatically remove — descriptions of replaced blocks will be removed from the drawing base, by analogy with the command "Purge" (_PURGE).
  • Do not remove — descriptions of replaced blocks will not be removed from the drawing database.

Continue — switch to selection of the replacement block and objects to be replaced. The plugin also processes pre-selected objects — the replacement block can be selected before starting the plugin.

SELECTED

Select replacing block: — select the block to which the blocks selected next will be replaced.

Select multiple blocks to replace them: — selects one or more blocks. The selection may include a replacement block.

SIMILAR

Select replacing block: — select the block to which the following selected blocks will be replaced.

Select replaced block: — selects a single block, all instances of which are to be replaced.

REPLACING ENTITIES

Select replacing block: — selects the block to which the following selected primitives will be replaced.

Select multiple objects to replace: — select one or more primitives of Circle, Ellipse and Point type.

ModPlus YouTube
Improved
The interface was migrated to the current version of the ModPlus styling library
Fix
Fixed an error that occurred when replacing blocks or objects located on locked layers
Fix
Fixed a bug where block definitions could be deleted prematurely
Fix
Fixed a bug where it was not possible to delete block definitions when replacing blocks with the "similar" option
Fix
A bug has been fixed that could cause rotation angles to be calculated incorrectly when replacing existing blocks with the option to copy the transformation or rotation
Fix
Fixed an error that occurred when using the Chinese localization
New
Added the ability to select multiple layouts for replacing similar blocks
Improved
Processing pre-selected objects as replaceable
New
Added plugin settings window instead of command requests
New
Added ability to replace objects (circle, ellipse, point) with a block
New
Added ability to copy values of identical attributes from the block being replaced to the block it replaces
Fix
Correct definition of dynamic blocks name when selecting similar blocks
New
Correct replacement of blocks placed on Layouts
Fix
Correct processing of dynamic blocks when replacing similar blocks
FIX
Replacement of the main icons of the function with the addition of icons for the dark AutoCAD ribbon design theme
FIX
Added the ability to repeat for the replacement of blocks on some properties of the model blocks (layer, scale, transformation)
FIX
Added settings window functions
FIX
To request the removal of units from the database-added options (to ask, to automatically delete, not remove)