eplisp

Align Text, MText or Attribute to Curve (With automatic realignment)

eplisp, the free multilingual LISP library

Align Text, MText or Attribute to Curve (With automatic realignment)
The author does not allow redistribution; download the file from the author's own site.
…
Rate this tool:
CommandsDTCURVEDTREMOVE
CategoryText Tools
AuthorLee Mac
SourceLee Mac Programming
LicenseAuthor's terms of use
Version2.9
RequirementsAutoCAD (full version); the author lists it as AutoCAD LT compatible (LT runs LISP from release 2024). Not for AutoCAD for Mac.
Prompt languageEnglish
Added2026-10-26
Go to the author's page ↗

Aligns Text, MText or attributes to a curve such as an arc, polyline or spline, and re-aligns the text automatically when the curve is later edited.

This program is an AutoLISP tool by Lee Mac for placing text along a curve and keeping it attached there. It suits users who label roads, streams or service lines along their direction and do not want to rotate the text again each time the line changes.

Overview

DTCURVE asks you to select existing text or type a new string, then lets you position it dynamically on a curve such as an arc, line, polyline, spline, circle or ellipse. While placing, + and - change the offset from the curve, P toggles perpendicular placement, B toggles the MText background mask, M mirrors the text and S changes the text style and height.

The link between text and curve is kept by a reactor that re-aligns the text whenever the curve is modified. The DTREMOVE command removes this link; while it runs, linked objects are marked with a symbol.

How to use it

  1. Download the LSP file from the author's page and load it in AutoCAD with APPLOAD.
  2. Type DTCURVE and select the text to align, or enter the string for new text.
  3. Select the curve the text should follow.
  4. Use the keyboard options to set offset, perpendicularity, mask and style, then confirm the position.
  5. Use DTREMOVE later to break the link.

Notes and limitations

  • Automatic re-alignment relies on a reactor; if the program is not loaded when the curve is edited, the text may not follow.
  • The program changes the position, rotation and, if you choose, the style of existing text.

Source and license

This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.

Free for personal or in-house use; redistribution needs the author's written consent, so we do not host the file and link to the author's page instead.

References

  1. Lee Mac Programming (author's page) – https://www.lee-mac.com/dtcurve.html
  2. Author: Lee Mac – https://www.lee-mac.com/
  3. License: Author's terms of use – https://www.lee-mac.com/terms.html

Found a mistake, or are you the author of this tool? Request a correction or removal