Change / Scale Text Height (CTH, SCALETXT)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | CTHSCALETXT |
|---|---|
| Category | Text Tools |
| Author | Michael Flynn |
| Source | mf4633/C3D-AutoCAD |
| License | MIT |
| Requirements | AutoCAD, AutoCAD LT 2024 or later, BricsCAD (no ActiveX calls) |
| Prompt language | English |
| Files | chtxth.lsp (1 KB), scaletxt.lsp (2 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
CTH gives all selected texts one fixed height, while SCALETXT multiplies each text's current height by a factor; the texts do not move.
These two commands change the height of many texts at once. Unlike the SCALE command they do not move anything: each text stays at its insertion point and only its height changes. They are handy when relabeling after a scale change.
Overview
CTH asks for the new height, then for TEXT, MTEXT and attribute definition (ATTDEF) objects, and gives them all that height. SCALETXT asks for a factor and multiplies each text's own height by it, so the ratio between texts of different sizes is kept.
How to use it
- Load chtxth.lsp and scaletxt.lsp with APPLOAD.
- For a fixed height, type CTH, enter the new height and select the texts.
- For a proportional change, type SCALETXT, enter the factor and select the texts.
Notes and limitations
- Changes the height of the selected texts directly; use U to undo.
- Attributes in inserted blocks (ATTRIB) cannot be selected; only ATTDEF, TEXT and MTEXT change.
- Heights set by inline MTEXT formatting codes (\H) are not changed.
- The repository is new (2026); 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.
- chtxth.lsp (1 KB)
- scaletxt.lsp (2 KB)
- License text
References
- Source repository: mf4633/C3D-AutoCAD – https://github.com/mf4633/C3D-AutoCAD
- Author: Michael Flynn – https://github.com/mf4633
- License: MIT – https://github.com/mf4633/C3D-AutoCAD/blob/eeeda7b7b3ffe98917d4b2b3d329d6b84a966035/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal