eplisp

Total Area

eplisp, the free multilingual LISP library

Total Area
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsTOTALAREA
CategoryMeasuring and Totals
AuthorMichael Flynn
Sourcemf4633/C3D-AutoCAD
LicenseMIT
Version1.1
Updated2026-05-20
RequirementsAutoCAD (full version, not LT), Civil 3D, BricsCAD.
Prompt languageEnglish
Filestotalarea.lsp (2 KB)
Added2026-10-26
Download the original fileSource repository

TOTALAREA adds up the areas of selected closed polylines, hatches, circles, ellipses and regions and reports the count and total at the command line.

TOTALAREA is part of a routine collection Michael Flynn shares for Civil 3D and AutoCAD. It gives the total area of several closed objects in one selection, for anyone who would rather window-select basins, lots or rooms than add them up one by one with AREA.

Overview

The selection accepts LWPOLYLINE, old-style POLYLINE, HATCH, CIRCLE, ELLIPSE, REGION and SPLINE. Hatches, circles, ellipses and regions are always counted; polylines and splines are counted only when flagged as closed, and open ones are skipped silently. The command line then shows the number of objects counted, the total area and that total divided by 43,560 (acres). Nothing is added to the drawing.

How to use it

  1. Load totalarea.lsp with APPLOAD.
  2. Type TOTALAREA at the command line.
  3. Select the closed objects and press Enter.
  4. Read the count and total area at the command line.

Notes and limitations

  • The unit labels in the output are fixed as 'sq ft' and 'acres'. In a metric drawing the total is in square drawing units (e.g. m²) and the 'acres' figure is meaningless.
  • Open polylines and splines are skipped without a warning; if the count is lower than your selection, some objects are open.
  • Overlapping objects are summed separately; shared area is not subtracted.
  • Nothing is written to the drawing and no file is changed.
  • 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