eplisp

Copy Text to Many

eplisp, the free multilingual LISP library

Copy Text to Many
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsCTEXTALL
CategoryText Tools
AuthorFauzan Alfi
Sourcefauzanalfi/cad-lsp-library
LicenseMIT
RequirementsAutoCAD (full version, not LT), BricsCAD; no Express Tools needed.
Prompt languageEnglish
FilesCTEXTALL.lsp (9 KB)
Added2026-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

  1. Load CTEXTALL.lsp with APPLOAD.
  2. Type CTEXTALL at the command line.
  3. Type the new text, or press Enter and pick the source object to copy its text.
  4. Pick the objects to change one by one.
  5. 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.

References

  1. Source repository: fauzanalfi/cad-lsp-library – https://github.com/fauzanalfi/cad-lsp-library
  2. Author: Fauzan Alfi – https://github.com/fauzanalfi
  3. 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