Function Syntax: RenameBlockList Version: 1.1 Date: 20.06.2026 6:38:49PM N/A Description 🔁 RenameBlockList is an AutoCAD AutoLISP batch block renaming utility for cleaning and standardizing block definition names through a visual DCL dialog. 🧩 The tool scans the active drawing, lists editable block names, supports wildcard filtering, builds rename rules, previews proposed results, and applies changes only to the currently visible filtered block list. ✅ It is useful for CAD managers, Civil 3D production teams, drafting technicians, and AutoCAD users who need controlled block cleanup without manually renaming each block one by one. Command 🚀 Run RenameBlockList in the AutoCAD command line to open the Rename Block List dialog. Main Workflow 1️⃣ The command opens a DCL dialog titled Rename Block List. 2️⃣ The left list shows block definitions available in the drawing. 3️⃣ The filter field narrows the list using wildcard patterns such as * and ?. 4️⃣ The user adds rename rules using Rename, Add Prefix, or Add Suffix mode. 5️⃣ The Preview Rename button shows the proposed old-name to new-name result before applying. 6️⃣ Apply Rename renames only the filtered visible blocks and reports renamed and skipped counts. Functionalities 🔍 Wildcard block filtering - quickly filters block names with AutoCAD-style * and ? patterns. 🔁 Rename rule mode - replaces matched text in block names and supports mid-string patterns like *word*. ✂️ Delete matched text - leaves the replacement field empty to remove the matched text fragment from block names. Add prefix - applies a consistent prefix to filtered block definitions. 🏁 Add suffix - appends a consistent suffix to filtered block definitions. 📋 Preview rename dialog - checks proposed results before changing the drawing database. 👁️ Visible-only apply logic - applies rename rules only to blocks currently shown by the active filter. ↔️ Horizontal scroll sliders - improves readability for long block names and long rule strings. 💾 Session memory - keeps the last rules, filter, operation mode, From value, and To value during the current AutoCAD session. 🛡️ Safe skip behavior - skips invalid new names and existing target block names instead of overwriting definitions. Important AutoLISP Functions 🧰 RBL:GetBlockNames collects editable block names from the active drawing. 🧰 RBL:FilterNames filters names using wildcard logic. 🧰 RBL:ApplyRule calculates the proposed new block name from the selected rule. 🧰 RBL:BuildPreview creates old-name to new-name preview rows. 🧰 RBL:RenameBlock performs the final block-table rename operation. Practical Result ✅ RenameBlockList creates a faster AutoCAD block cleanup workflow for standardizing block libraries, correcting imported DWG block names, removing unwanted naming fragments, and applying consistent CAD naming conventions. Important Note ⚠️ This tool renames block definitions globally in the active drawing. All references using a renamed definition will use the updated block name. Create a backup before running large batch rename operations. Tags 🏷️ AutoCAD, 🏷️ AutoLISP, 🏷️ Civil 3D, 🏷️ Block Rename, 🏷️ Rename Block List, 🏷️ DCL Dialog, 🏷️ Wildcard Filter, 🏷️ Batch Rename, 🏷️ Prefix Suffix, 🏷️ Block Management