MAAR LISP: Multi-Polygon Area Labels & Total (Free AutoLISP Download)
MAAR finds the total combined area of several selected polygons in a single command, while also labeling each individual polygon with its own area at its approximate centroid, eliminating the tedious add/subtract toggling of AutoCAD's native AREA command when totaling many polygons at once.
MULTIAREA-bgol (Multi-Polygon Area Labels & Total)
Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in
Inspired by the general concept of multi-object area auditing utilities used in land-survey drafting. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.
Overview
MAAR finds the total combined area of several selected polygons in a single command, while also labeling each individual polygon with its own area at its approximate centroid, eliminating the tedious add/subtract toggling of AutoCAD's native AREA command when totaling many polygons at once.
How to Use
- Load
MULTIAREA-bgol.lspinto your CAD session (drag-and-drop the file onto the drawing window, or use theAPPLOADcommand). - Type
MAARat the command line and press Enter. - Select all the closed LWPOLYLINEs you want to total (window/crossing select or pick individually).
- Each polygon is labeled at its centroid with its own area on layer
BGOL-MAAR, and the combined total area of all selected objects is printed to the command line.
Why Use It
- No add/subtract toggling, eliminates the tedious mode-switching of AutoCAD's native
AREAcommand when totaling many polygons at once. - Per-object and total in one step, provides both the individual breakdown (centroid labels) and the combined grand total, useful for auditing which polygon contributes what to the total.
- Faster reporting, speeds up land-area reporting tasks involving many parcels, plots, or building footprints that need to be summed together.
Where to Use It
- Calculating combined land area across multiple separate parcels/plots in a single survey drawing.
- Quickly summing building footprint areas, room areas, or any set of closed polygons where both individual and total figures are needed.
- Any land-survey or design task requiring quick multi-object area auditing without manual accumulation.
Notes
- Only LWPOLYLINE entities are matched by the selection filter; convert other closed shapes to polylines first if needed.
- The centroid used for label placement is an approximate average of the polyline's sampled curve points, not a true area-weighted centroid, fine for label placement, not for precise centroid surveying.
- The combined total is printed to the command line in the format
Total of Selected Objects...:. - Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.
Credits
Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.
Frequently Asked Questions
MAAR is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.
Only LWPOLYLINE entities are matched by the selection filter; convert other closed shapes to polylines first if needed.
No add/subtract toggling, eliminates the tedious mode-switching of AutoCAD's native AREA command when totaling many polygons at once.
Yes. MAAR is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.
Drag and drop MULTIAREA-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type MAAR at the command line to run it.
๐ค About BGol Community
BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.
๐ Made with โค๏ธ by BGol Community of Advanced Surveying
Free, open-source, and built for the CAD community, for personal or commercial use, always.