Function Syntax: BRE8 / BRE / BRE8RESET / BRE8VERSION / ReplaceDrawingBlocks / ReplaceDrawingBlocksRESET / ReplaceDrawingBlocksVERSION Version: 1.0 Date: 21.07.2026 7:14:41AM Version: 1.1 Date: 21.07.2026 7:43:45AM https://www.cadtutor.net/forum/topic/77762-replace-block-with-block/ ReplaceDrawingBlocks 🔁 ReplaceDrawingBlocks is an AutoCAD AutoLISP utility for replacing selected block references with another block definition while preserving important reference properties. The tool is useful for CAD cleanup, symbol replacement, block standardization, drawing maintenance, Civil 3D plan updates, and production DWG quality control. Main Commands 🚀 Run ReplaceDrawingBlocks to open the embedded DCL Replace Blocks dialog. ⚡ Run BRE as the short compatibility alias for the same replacement workflow. 🧹 Run ReplaceDrawingBlocksRESET to clear saved settings and dialog position. ℹ️ Run ReplaceDrawingBlocksVERSION to confirm that the embedded DCL version 7 routine is active. SEO Optimized Description 🧱 This AutoCAD block replacement tool opens a DCL dialog first, then lets the user pick one or more INSERT block references to replace. 📋 The selected source block names are displayed in the dialog with quantities, so the user can verify the replacement set before applying changes. 📂 The replacement block is selected from a sorted list of insertable block definitions available in the current drawing. 📐 The routine preserves insertion point, rotation, X scale, Y scale, Z scale, layer, and normal direction from the original block reference. 🪞 Signed scale factors are restored after insertion, allowing mirrored block references to remain mirrored after replacement. 🏷️ Matching attribute tag values can be copied from the old block reference to the replacement block reference. Functionalities 🔁 Replace selected blocks - replaces picked AutoCAD block references with a selected target block definition. 🪟 Embedded DCL interface - creates a unique temporary DCL dialog for each command run. 📋 Selection summary - lists selected block names and counts before replacement. 📂 Replacement dropdown - displays valid insertable block definitions and excludes xrefs and layout blocks. 📐 Geometry preservation - keeps insertion point, rotation, scale, layer, and normal direction. 🏷️ Attribute transfer - optionally copies values for matching attribute tags from source to replacement. ↩️ Undo protection - wraps the replacement process in an AutoCAD undo mark. 💾 Persistent settings - saves the last replacement block, attribute-copy option, and dialog X/Y position. 🛡️ Safe settings reader - reads the configuration as plain text and ignores malformed values. Practical Result ✅ The final result is a controlled AutoCAD block replacement workflow that updates selected symbols while retaining the original placement, orientation, layer, scale, and optional attribute data. This improves CAD productivity when replacing drawing symbols, standardizing block libraries, updating Civil 3D production plans, and cleaning large DWG files. Important Notes ⚠️ The original selected block references are deleted after the replacement references are inserted. ⚠️ Attribute values are copied only when the source and replacement blocks contain matching attribute tags. ⚠️ The replacement block must already exist in the current drawing as an insertable block definition. Function Syntax: ReplaceDrawingBlocks / BRE / ReplaceDrawingBlocksRESET / ReplaceDrawingBlocksVERSION Version: 1.0 Date: 21.07.2026 7:14:41AM https://www.cadtutor.net/forum/topic/77762-replace-block-with-block/ ReplaceDrawingBlocks 🔁 ReplaceDrawingBlocks is an AutoCAD AutoLISP utility for replacing selected block references with another block definition while preserving important reference properties. The tool is useful for CAD cleanup, symbol replacement, block standardization, drawing maintenance, Civil 3D plan updates, and production DWG quality control. Main Commands 🚀 Run ReplaceDrawingBlocks to open the embedded DCL Replace Blocks dialog. ⚡ Run BRE as the short compatibility alias for the same replacement workflow. 🧹 Run ReplaceDrawingBlocksRESET to clear saved settings and dialog position. ℹ️ Run ReplaceDrawingBlocksVERSION to confirm that the embedded DCL version 7 routine is active. SEO Optimized Description 🧱 This AutoCAD block replacement tool opens a DCL dialog first, then lets the user pick one or more INSERT block references to replace. 📋 The selected source block names are displayed in the dialog with quantities, so the user can verify the replacement set before applying changes. 📂 The replacement block is selected from a sorted list of insertable block definitions available in the current drawing. 📐 The routine preserves insertion point, rotation, X scale, Y scale, Z scale, layer, and normal direction from the original block reference. 🪞 Signed scale factors are restored after insertion, allowing mirrored block references to remain mirrored after replacement. 🏷️ Matching attribute tag values can be copied from the old block reference to the replacement block reference. Functionalities 🔁 Replace selected blocks - replaces picked AutoCAD block references with a selected target block definition. 🪟 Embedded DCL interface - creates a unique temporary DCL dialog for each command run. 📋 Selection summary - lists selected block names and counts before replacement. 📂 Replacement dropdown - displays valid insertable block definitions and excludes xrefs and layout blocks. 📐 Geometry preservation - keeps insertion point, rotation, scale, layer, and normal direction. 🏷️ Attribute transfer - optionally copies values for matching attribute tags from source to replacement. ↩️ Undo protection - wraps the replacement process in an AutoCAD undo mark. 💾 Persistent settings - saves the last replacement block, attribute-copy option, and dialog X/Y position. 🛡️ Safe settings reader - reads the configuration as plain text and ignores malformed values. Practical Result ✅ The final result is a controlled AutoCAD block replacement workflow that updates selected symbols while retaining the original placement, orientation, layer, scale, and optional attribute data. This improves CAD productivity when replacing drawing symbols, standardizing block libraries, updating Civil 3D production plans, and cleaning large DWG files. Important Notes ⚠️ The original selected block references are deleted after the replacement references are inserted. ⚠️ Attribute values are copied only when the source and replacement blocks contain matching attribute tags. ⚠️ The replacement block must already exist in the current drawing as an insertable block definition.