Batch Find & Replace Text
eplisp, the free multilingual LISP library
| The author does not allow redistribution; download the file from the author's own site. | |
… Rate this tool: | |
| Commands | BFIND |
|---|---|
| Category | Text Tools |
| Author | Lee Mac |
| Source | Lee Mac Programming |
| License | Author's terms of use |
| Version | 2.0 |
| Requirements | AutoCAD (full version, Windows). The author lists it as not compatible with AutoCAD LT or AutoCAD for Mac. |
| Prompt language | English |
| Added | 2026-10-26 |
| Go to the author's page ↗ | |
Finds and replaces many strings in the current drawing, all open drawings or a folder of DWG files without opening them, with a report before changes.
Batch Find & Replace Text is an AutoLISP program by Lee Mac that uses ObjectDBX to change text across many drawings at once. It is meant for users who must replace a company name, revision note or material name in every sheet of a project folder.
Overview
It searches Text, MText, block attributes, multileader text, table cells and dimension override text, including the same objects inside block definitions. You can enter several find and replace pairs and save or load these lists. The Search Only option only searches and produces a report showing which object, by handle, in which file would change.
An options dialog sets which object types are searched, whether locked layers are included, case sensitivity, whole-word matching and whether to limit the search to model space, layouts or both. The scope can be the current drawing, all open drawings or a folder with optional subfolders.
How to use it
- Download the LSP file from the author's page and load it in AutoCAD with APPLOAD.
- Type BFIND at the command line.
- Enter find and replace pairs, or load a saved list.
- Choose the scope: current drawing, open drawings or a folder.
- Run Search Only first to check the report, then run the replacement.
Notes and limitations
- The program edits and saves files; back up the folder before running it.
- Per the author, processed drawings are saved in the host AutoCAD's native DWG format, and file thumbnails are lost until the next manual save.
- Attributes that are not left-justified may shift slightly when their text length changes.
- Curly braces cannot be searched for and wildcards are not supported; the author advises against using it on MText with many formatting overrides.
Source and license
This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.
Free for personal or in-house use; redistribution needs the author's written consent, so we do not host the file and link to the author's page instead.
References
- Lee Mac Programming (author's page) – https://www.lee-mac.com/bfind.html
- Author: Lee Mac – https://www.lee-mac.com/
- License: Author's terms of use – https://www.lee-mac.com/terms.html
Found a mistake, or are you the author of this tool? Request a correction or removal