eplisp

Label Area in Acres (LABELACRES)

eplisp, the free multilingual LISP library

Label Area in Acres (LABELACRES)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsLABELACRES
CategoryMeasuring and Totals
AuthorMichael Flynn
Sourcemf4633/C3D-AutoCAD
LicenseMIT
Version1.1
Updated2026-05-20
RequirementsAutoCAD (full version, not LT). Uses ActiveX (vla/vlax), so it should also run in Visual LISP-compatible programs such as BricsCAD.
Prompt languageEnglish
Fileslabelacres.lsp (2 KB), _utils.lsp (5 KB)
Added2026-10-26
Download the original fileSource repository

Calculates the area of selected closed polylines, hatches, circles, ellipses and regions in acres and places a label like "2.3 AC" in the middle of each.

LABELACRES is an area-labeling command from Michael Flynn's Civil 3D/AutoCAD collection, aimed at parcel and catchment drawings in US units. It labels many closed areas in acres from one selection.

Overview

LWPOLYLINE, POLYLINE, HATCH, CIRCLE, ELLIPSE, REGION and closed SPLINE objects are processed; open polylines are skipped. The area is divided by 43560, assuming the drawing unit is feet, and written with one decimal and the suffix "AC". The label is a middle-center MTEXT placed at the center of the object's bounding box.

Text height comes from TEXTSIZE (or DIMTXT if that is zero) and the label goes on the current layer. Helper functions live in the separate file _utils.lsp.

How to use it

  1. Load _utils.lsp first, then labelacres.lsp, with APPLOAD.
  2. Set TEXTSIZE to the label height you want.
  3. Type LABELACRES at the command line.
  4. Select the closed objects to label and press Enter.

Notes and limitations

  • US units only: the drawing unit is assumed to be feet (square feet to acres). Results are wrong in drawings made in meters.
  • If _utils.lsp is not loaded first, the command fails with an undefined function error.
  • Because the label goes to the center of the bounding box, it can fall outside L-shaped or concave areas.
  • Labels are added on the current layer.
  • The repository is new (2026); test the routine 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/tree/eeeda7b7b3ffe98917d4b2b3d329d6b84a966035
  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