Copy Text to Many
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | CTEXTALL |
|---|---|
| Category | Text Tools |
| Author | Fauzan Alfi |
| Source | fauzanalfi/cad-lsp-library |
| License | MIT |
| Requirements | AutoCAD (full version, not LT), BricsCAD; no Express Tools needed. |
| Prompt language | English |
| Files | CTEXTALL.lsp (9 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
CTEXTALL applies one string, typed or copied from a source object, to many TEXT, MTEXT, attribute, dimension and multileader objects picked one by one.
CTEXTALL, from Fauzan Alfi's LISP library, gives many text objects the same content. Instead of editing the same note, tag or attribute value again and again, you enter the text once and pick the targets one after another.
Overview
The command first asks for the new text. If you press Enter, you pick a source object and its text is used; the source can be TEXT, MTEXT, an attribute, a dimension, a multileader or text inside a block. Then you pick the targets one by one; for each target the text, the dimension text (as an override), the multileader text or the block attributes are changed. When you finish with Enter, the number of updated objects is reported. The whole run is a single UNDO step.
How to use it
- Load CTEXTALL.lsp with APPLOAD.
- Type CTEXTALL at the command line.
- Type the new text, or press Enter and pick the source object to copy its text.
- Pick the objects to change one by one.
- Press Enter to finish; the number of updated objects is shown.
Notes and limitations
- Targets are picked with nentsel: picking text nested in a block edits the block definition and affects every instance of that block.
- Picking an attribute changes only that attribute. On dimensions the text is written as an override, so the measured value is no longer shown.
- On dimensions and tables, which sub-object a pick returns can vary between programs; check the result.
- Clicking on empty space also ends the command.
- License: the repository's LICENSE file is MIT.
- The repository was published in 2026 and the amount of testing is not stated; try it on a copy of the drawing first.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- CTEXTALL.lsp (9 KB)
- License text
References
- Source repository: fauzanalfi/cad-lsp-library – https://github.com/fauzanalfi/cad-lsp-library
- Author: Fauzan Alfi – https://github.com/fauzanalfi
- License: MIT – https://github.com/fauzanalfi/cad-lsp-library/blob/385e7664b02bea6b5adaff7091689cc85fc16a52/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal