Length at Midpoint
eplisp, the free multilingual LISP library
| The author does not allow redistribution; download the file from the author's own site. | |
… Rate this tool: | |
| Commands | MIDLEN |
|---|---|
| Category | Measuring and Totals |
| Author | Lee Mac |
| Source | Lee Mac Programming |
| License | Author's terms of use |
| Version | 1.1 |
| Requirements | AutoCAD (full version) or AutoCAD LT 2024 and later; not supported on AutoCAD for Mac |
| Prompt language | English |
| Added | 2026-10-26 |
| Go to the author's page ↗ | |
Labels each selected object with its length by placing an aligned MText at its midpoint that holds a length field, which updates with the geometry.
Length at Midpoint adds an MText showing the object's length at the midpoint of each selected line, arc, circle or polyline. It helps anyone who wants to label many run, wall or cable lengths at once instead of measuring and typing each value.
Overview
Each MText contains a field expression tied to the object's length, so the value can update when the object changes. The text is aligned with the object while staying readable, has a background mask enabled, and uses the current text style and text height. The program works under any UCS and view setting.
The length format can be changed by editing the field formatting code near the top of the source file; the author explains the steps on the page.
How to use it
- Download the program from the author's page and load it into AutoCAD with APPLOAD.
- Type MIDLEN at the command line.
- Select the objects to label; a label is added at the midpoint of each one.
Notes and limitations
- The program adds new MText objects to the drawing.
- Whether fields are shown with a gray background depends on the FIELDDISPLAY system variable.
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 and in-house use; redistribution needs the author's written consent, so we do not host the file and only link to the author's page.
References
- Lee Mac Programming (author's page) – https://www.lee-mac.com/midlen.html
- Author: Lee Mac – https://www.lee-mac.com/
- 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