TEXT to MTEXT
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | T2M |
|---|---|
| Category | Text Tools |
| Author | Michael Flynn |
| Source | mf4633/C3D-AutoCAD |
| License | MIT |
| Version | 1.1 |
| Updated | 2026-05-20 |
| Requirements | AutoCAD (full version, not LT), Civil 3D, BricsCAD. |
| Prompt language | English |
| Files | txt2mtxt.lsp (2 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
T2M converts each selected single-line TEXT into its own MTEXT with the same string, height, style and rotation, then deletes the original TEXT.
T2M, from Michael Flynn's routine collection, is a short command for turning notes written with DTEXT/TEXT into MTEXT. It helps when single-line text from older drawings needs to be edited as paragraph text, given a width or formatted with MTEXT features.
Overview
For each TEXT object the routine reads the string, height, text style, rotation and insertion point, creates a new bottom-left attached MTEXT with those values and then deletes the original TEXT. Each TEXT becomes its own MTEXT; lines are not merged. The number of converted objects is reported at the end.
How to use it
- Load txt2mtxt.lsp with APPLOAD.
- Type T2M at the command line.
- Select the TEXT objects to convert and press Enter.
Notes and limitations
- The original TEXT objects are deleted; use UNDO if the result is not what you wanted.
- The new MTEXT is created on the current layer, not on the original's layer, and colour and other object properties are not carried over.
- The MTEXT is placed at the TEXT insertion point with bottom-left attachment, so centered or right-justified text can shift.
- It does not combine several lines into one MTEXT; AutoCAD's TXT2MTXT (Express Tools) is better suited for that.
- Version 1.1 (2026-05-20) according to the file header. 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.
- txt2mtxt.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