eplisp

Label and Total Polygon Areas (MAAR)

eplisp, the free multilingual LISP library

Label and Total Polygon Areas (MAAR)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsMAAR
CategoryMeasuring and Totals
AuthorBGol Community
Sourcethevijayparmar/bgol-cad-lisps
LicenseMIT
RequirementsAutoCAD (full version; not LT), BricsCAD, ZWCAD. Uses Visual LISP ActiveX (vla/vlax) functions.
Prompt languageEnglish
FilesMULTIAREA-bgol.lsp (4 KB)
Added2026-10-26
Download the original fileSource repository

Writes the area of each selected polyline as a text label inside it and prints the total area of all selected polylines on the command line.

MAAR labels many parcels or rooms at once. Instead of measuring polylines one by one with AREA, you select them all and get a label on each plus the sum, which is useful for land survey and plot layouts.

Overview

The area of each LWPOLYLINE is calculated in square drawing units and written with three decimals as TEXT, 2.5 units high, at the average of its vertices. Labels go on the layer BGOL-MAAR (created in red if missing). The total of all selected areas is printed on the command line, not written to the drawing.

How to use it

  1. Load MULTIAREA-bgol.lsp with APPLOAD.
  2. Type MAAR and press Enter.
  3. Select the closed polylines and press Enter.
  4. Read the total on the command line (press F2 if it scrolled away).

Notes and limitations

  • The label sits at the average of the vertices, not at the true centroid, so on L-shaped or other concave outlines it can fall outside the shape.
  • Open polylines are not filtered out; for them the area of the implied closed shape is used.
  • No unit conversion is done: a drawing in millimetres gives areas in square millimetres.
  • Text height (2.5) and precision (three decimals) are fixed in the code.
  • Creates the layer BGOL-MAAR if it is missing.
  • The repository was published in 2026; test 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: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps/tree/3acbe32f71b489f4c81dcd9372f989591a9be858/Land%20Survey%20Lisps/Multiple%20Area
  2. Author: BGol Community – https://bgol.in/
  3. License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE

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