eplisp

TEXT to MTEXT

eplisp, the free multilingual LISP library

TEXT to MTEXT
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsT2M
CategoryText Tools
AuthorMichael Flynn
Sourcemf4633/C3D-AutoCAD
LicenseMIT
Version1.1
Updated2026-05-20
RequirementsAutoCAD (full version, not LT), Civil 3D, BricsCAD.
Prompt languageEnglish
Filestxt2mtxt.lsp (2 KB)
Added2026-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

  1. Load txt2mtxt.lsp with APPLOAD.
  2. Type T2M at the command line.
  3. 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.

References

  1. Source repository: mf4633/C3D-AutoCAD – https://github.com/mf4633/C3D-AutoCAD
  2. Author: Michael Flynn – https://github.com/mf4633
  3. 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