(setq ss (ssget '((0 . "LWPOLYLINE,POLYLINE,CIRCLE,ELLIPSE"))))
The raw output of the Lisp is in drawing units. In AutoCAD, one drawing unit can represent 1 millimeter, 1 inch, 1 meter, or 1 foot. This depends on your template.
To make the Lisp actually say "Sq. Ft." or "Sq. M.", we modify the final princ line.
This LISP routine provides a complete solution for calculating total area from multiple selected objects in AutoCAD.
For calculating the total area of multiple objects in AutoCAD, a high-quality AutoLISP routine is the most efficient method compared to the native, tedious manual selection process Autodesk Community, Autodesk Forums, Autodesk Forum Recommended LISP: AreaM (by Jimmy Bergmark)
This is a widely used and reliable routine for summing the areas of various closed objects. Autodesk Community, Autodesk Forums, Autodesk Forum Capabilities : Calculates the total area of selected How to Use AreaM.lsp code into a text file and save it with a extension. Drag and drop the file into your AutoCAD window or use the
in the command line, select your objects, and press Enter to see the total area. WordPress.com Advanced Option: Lee Mac's Total Area
For users needing precision and support for modern AutoCAD features, Total Length & Area program is a standard in the industry. Lee Mac Programming
: Displays total area at the command line with precision based on your system variable. Flexibility
: It filters out non-area entities like open polylines to ensure accuracy. Lee Mac Programming Detailed Pieces & Automation
If you need more than just a total sum, consider these specific tools: Area Tables
: To generate a table listing each individual area alongside the total, use the Area Table Lisp ) which labels each polygon. Automatic Text Labels
routine from ESurveying creates text at the centroid of each selected object, showing its specific area plus the grand total. Triangle Details
: For land surveying or verifying calculations manually, the command splits polygons into triangles and provides a detailed table of calculation for each piece. Autodesk Community, Autodesk Forums, Autodesk Forum Native Alternatives (No LISP Required) Lisp to calculate area of all closed polylines selected
Run the command:
Select objects:
View results:
Mastering Total Area Calculation in AutoCAD: The Power of LISP
If you’ve ever spent an afternoon clicking through dozens of closed polylines, manually adding their areas in a calculator, you know the frustration of AutoCAD’s default AREA command. While functional for a single room or shape, it’s a productivity killer for large-scale projects like site plans, floor area ratios, or material takeoffs.
This is where AutoCAD LISP (List Processing) becomes a game-changer. By using a custom LISP routine, you can calculate the total area of multiple objects instantly, saving hours of tedious work and reducing human error. Why Use a LISP Routine for Total Area?
By default, AutoCAD’s MEASUREGEOM or AREA commands require you to select points or objects one by one. A custom LISP routine offers several advantages:
Batch Processing: Select hundreds of polylines, circles, or hatches at once.
Automated Unit Conversion: Automatically convert square inches to square feet or square meters.
On-Screen Annotation: Many scripts will automatically place a text label with the final sum directly into your drawing.
Error Reduction: No more "did I already click that one?" moments. The Code: A Simple "Total Area" LISP Script
You don't need to be a programmer to use LISP. Here is a classic, lightweight code snippet that calculates the sum of all selected closed objects.
(defun c:TOTALAREA (/ ss count total i obj) (setq ss (ssget '((0 . "CIRCLE,HATCH,POLYLINE,LWPOLYLINE")))) (setq total 0.0) (if ss (progn (setq count (sslength ss)) (setq i 0) (while (< i count) (setq obj (vlax-ename->vla-object (ssname ss i))) (setq total (+ total (vla-get-area obj))) (setq i (1+ i)) ) (alert (strcat "Total Area of " (itoa count) " objects is: " (rtos total 2 2))) (princ (strcat "\nTotal Area: " (rtos total 2 2))) ) (princ "\nNo valid objects selected.") ) (princ) ) (vl-load-com) Use code with caution. How to Install and Run the Script Copy the code above into Notepad.
Save the file as TotalArea.lsp. Ensure the extension is .lsp and not .txt. In AutoCAD, type APPLOAD and press Enter. Locate your TotalArea.lsp file, click Load, and then Close. Type TOTALAREA in the command line to run it. Key Features to Look For in Advanced Area LISPs
While the script above is a great starting point, professional-grade LISP routines often include:
Layer Filtering: Only calculate areas for objects on a specific layer (e.g., "G-AREA-BNDY").
Export to Excel: Seamlessly move your data from the CAD environment into a CSV or XLSX file for billing and scheduling.
Dynamic Links (Fields): Create text that updates automatically if you stretch the polyline.
Subtracting "Islands": Advanced scripts can detect a "hole" inside a larger polyline and subtract that area automatically. Common Troubleshooting Tips
Open Polylines: LISP routines usually cannot calculate the area of an "open" polyline. Use the PEDIT command to close your boundaries before running the script. total area autocad lisp
Self-Intersecting Loops: If a polyline crosses over itself like a figure-eight, AutoCAD may return an error or an incorrect value.
Z-Coordinates: Ensure all objects are flattened to a 0 elevation. Objects with varying "Z" values can sometimes cause geometric calculation errors. Conclusion
Using a Total Area AutoCAD LISP is one of the easiest ways to transition from a "CAD Drafter" to a "CAD Power User." It moves the burden of calculation away from your brain and onto the software, where it belongs.
g., converting square millimeters to square meters) or to export the results directly to a text file?
Efficiency at Your Fingertips: The Power of Total Area AutoLISP in AutoCAD
In the world of professional drafting, speed and accuracy are the ultimate goals. While AutoCAD comes with built-in measurement tools, they often fall short when you need to calculate the cumulative area
of dozens of separate rooms or complex shapes. This is where
—AutoCAD’s specialized programming language—becomes a game-changer. Why Use an AutoLISP for Total Area? Standard AutoCAD commands like MEASUREGEOM
are excellent for single objects. However, if you need to find the total square footage of a building with 50 unique rooms, clicking each vertex manually is both tedious and prone to error. A "Total Area" LISP routine automates this by: Selecting Multiple Objects : Grabbing all polylines, hatches, or regions at once. Instant Summation
: Automatically adding the area of every selected object and displaying the total. Data Export
: Many routines can even paste the result directly into your clipboard or as text on your drawing. Top Tools for Calculating Total Area
If you aren't ready to write your own code, there are powerful pre-made tools available: TotalLength + / TotalArea : This popular plugin from the Autodesk App Store
allows you to select object types and get a comprehensive total of both length and area in seconds.
: A streamlined utility that measures the total area of hatches and polylines and copies the value directly to your clipboard for use in Excel or Word. : A free architectural toolkit that includes the
command, specifically designed to display areas in square meters ( ) instantly. How to Create Your Own Routine
You don't need to be a software engineer to use AutoLISP. You can create your own custom scripts using the Visual LISP Editor Open AutoCAD and type in the command line.
Write your script in the console window. A simple routine typically iterates through a selection set of "AcDbPolyline" or "AcDbHatch" objects and sums their Save the file as a and use the command to load it into any drawing. Practical Applications Cost Estimation
: Quickly calculate total flooring or roofing material needed. Zoning Compliance
: Ensure your total built-up area meets local regulatory limits. HVAC Sizing
: Determine the total volume or surface area for climate control calculations.
While AutoCAD has built-in ways to add multiple areas using the standard AREA command, using an AutoLISP script is the most efficient way to sum the areas of multiple closed polylines, hatches, or circles instantly. AutoLISP Code for Total Area
You can copy and paste this code into the Visual LISP Editor (type VLISP in AutoCAD) to create your own "Total Area" command:
(defun c:TOTALAREA (/ ss i ent area total) (setq total 0) (princ "\nSelect closed objects (Polylines, Circles, Hatches): ") (if (setq ss (ssget '((0 . "LWPOLYLINE,POLYLINE,CIRCLE,HATCH")))) (progn (repeat (setq i (sslength ss)) (setq ent (ssname ss (setq i (1- i)))) (command "._area" "_O" ent) (setq total (+ total (getvar "AREA"))) ) (princ (strcat "\nTotal Area: " (rtos total 2 2))) ) (princ "\nNo valid objects selected.") ) (princ) ) Use code with caution. Copied to clipboard How to Use the LISP
Load the Script: Save the code above as a .lsp file and drag it into your AutoCAD drawing, or use the APPLOAD command. Run the Command: Type TOTALAREA in the command line.
Select Objects: Select all the polylines or hatches you want to measure.
View Results: The command line will display the combined sum of all selected areas. Alternative Built-in Methods
If you don't want to use a script, you can use these native tools:
Hatch Method: Select all areas and apply a single hatch; the "Area" property in the Properties Palette (Ctrl+1) will show the cumulative total.
Area Add: Type AREA, then type A (Add), then O (Object). This allows you to click objects one by one to see a running total.
Calculating the total area of multiple objects in AutoCAD is a common pain point that AutoLISP routines solve instantly. Instead of manually adding individual areas, a LISP routine can select multiple closed polylines, hatches, or circles and output the combined total. 🚀 Top AutoLISP Commands for Area
Depending on which LISP file you load, these are the most common community-standard commands:
A2F (Area to Field): Creates an MText object containing a Field Expression that stays updated if you stretch the boundary.
AT / ATM (AreaText): Places text at the geometric center of selected objects or a bounding box center for multiple items. (setq ss (ssget '((0
AREATOT: A common generic command in many scripts that simply prints the sum of all selected objects to the command line.
PLA: A specific routine that loops until you stop clicking, placing area text at the center of each selected object. 🛠️ How to Use a Total Area LISP
Download/Create the File: Save your LISP code as a .lsp file (e.g., TotalArea.lsp).
Load the Routine: Type APPLOAD in AutoCAD, find your file, and click Load. To keep it permanently, add it to your Startup Suite.
Run the Command: Type the specific shortcut (like A2F or ATM) defined in the code.
Select Objects: Select the closed boundaries (polylines, circles, or regions) you need to sum up.
Output: The LISP will typically ask you to pick a point on the screen to place the "Total Area" text or will display it in the Command History. 💡 Pro Tips for Accuracy
Close Your Polylines: Ensure all shapes are closed; the command may ignore open lines or produce errors.
Unit Conversion: If your drawing is in millimeters but you need square meters, look for routines that allow a scale factor (e.g., dividing by 1,000,000).
Use Fields for Dynamic Updates: If you plan to change the room sizes later, use a routine that inserts a Field instead of static text so the total updates automatically.
Reliable Sources: High-quality, free routines can be found on sites like Lee Mac Programming or JTB World.
📍 Key Anchor: Use the APPLOAD command to ensure your LISP is ready for every new session.
If you tell me your specific goal (e.g., exporting to Excel, adding areas of different layers, or just simple labeling), I can recommend the exact script or code snippet you need.
In AutoCAD, calculating the total area of multiple objects—like polylines, circles, or regions—can be tedious if done manually using the standard AREA command. AutoLISP routines automate this by summing the areas of all selected objects and displaying the result instantly. How to Use a "Total Area" LISP Routine
Obtain the Code: You can find various versions of this script online, such as those from Lee Mac Programming or JTB World. Load the LISP: Open AutoCAD and type APPLOAD in the command line. Navigate to your .lsp file and click Load.
Alternatively, drag and drop the .lsp file directly into the AutoCAD drawing window.
Run the Command: Most "Total Area" scripts use commands like TAREA, AREAM, or QSTA.
Select Objects: Select the closed polylines, circles, or hatches you want to measure. The routine will calculate the sum and display it in the command line or an alert box. Popular LISP Routines for Area Calculation Command Functionality TAREA
Displays the total area of selected circles, ellipses, polylines, and splines at the command line. Lee Mac Programming AREAM
Measures total area of many objects at once and reports the total to the command line. JTB World SAL Calculates total area and sums it specifically by layer. CADTutor AMO
Adds the area of multiple objects and places a text label with the area at each object’s center. ESurveying A2F
Creates an MText object with a Field Expression that automatically updates if object boundaries change. Arkance Community Key Benefits of Using LISP for Areas
To calculate the total area of multiple objects in AutoCAD using Lisp (AutoLISP), you can use a simple script that sums up the areas of the selected objects. This script will work with entities like polygons, polylines (2D), circles, and arcs, provided they are closed and have an area.
Here is a basic Lisp routine to do this:
(defun c:totalarea (/ ss i ent area totalarea)
(setq ss (ssget "X" '((0 . "POLYGON, POLYLINE, CIRCLE, ARC"))))
(if ss
(progn
(setq totalarea 0)
(setq i 0)
(repeat (setq i (sslength ss))
(setq ent (ssname ss i))
(cond
((= (cdr (assoc 0 (entget ent))) "POLYLINE")
(setq area (vlax-curve-get-area ent)))
((= (cdr (assoc 0 (entget ent))) "POLYGON")
(setq area (cdr (assoc 41 (entget ent)))))
((= (cdr (assoc 0 (entget ent))) "CIRCLE")
(setq area (* pi (expt (cdr (assoc 40 (entget ent))) 2))))
((= (cdr (assoc 0 (entget ent))) "ARC")
(setq area (* pi (expt (cdr (assoc 40 (entget ent))) 2) (/ (cdr (assoc 42 (entget ent))) 360)))
)
(setq totalarea (+ totalarea area))
(setq i (1+ i))
)
(princ (strcat "\nTotal Area: " (rtos totalarea 2 2) " square units"))
)
(princ "\nNo objects selected.")
)
(princ)
)
To use this Lisp routine:
The script prompts you to select objects by automatically selecting all polygons, polylines, circles, and arcs in the drawing. It then calculates and displays the total area of these objects.
Keep in mind that:
This script assumes a simple use case. Depending on your specific needs, you might need to adjust it. For example, you might want to filter the selection based on layer or color, or handle more complex entities.
In professional architectural and engineering workflows, manually summing areas for hundreds of floor plans or landscape parcels is both time-consuming and prone to error. AutoLISP routines solve this by automating the extraction and summation of area data directly from AutoCAD objects. The Role of LISP in Area Calculation
While AutoCAD includes a native AREA command, it is often limited when handling multiple complex shapes simultaneously. Custom LISP scripts extend this functionality by:
Batch Processing: Summing the area of all selected closed polylines, circles, or hatches in one click.
Automatic Annotation: Instantly placing text labels showing the square footage or square meters at the center of each object.
Dynamic Data: Using "fields" so that if an object’s boundary is stretched, the displayed area text updates automatically. Run the command:
Data Export: Generating area tables within AutoCAD or exporting calculations directly to Microsoft Excel for project reporting. Popular LISP Commands for Total Area
Several widely-used community routines simplify these tasks:
AREAM: A classic routine that sums the total area of all selected objects and displays the result in the command line or an alert box.
A2F (Area to Field): Often attributed to creators like Lee Mac, this script creates an MText object that displays the area as a linked field.
SUMA / SUMAREA: Third-party plugins available on the Autodesk App Store that calculate total areas and immediately copy the value to your clipboard.
AMO (Area of Multiple Objects): Used frequently in survey drawings to measure multiple polygons and place a text indicator at the centroid of each. Sample Code Structure
A typical "Total Area" LISP script functions by creating a selection set of closed entities and looping through them to retrieve the area property. For example, a basic routine might look like this: Lisp to calculate area of all closed polylines selected
An AutoCAD LISP for "Total Area" is a custom script used to automate the summation of areas from multiple selected objects, such as closed polylines, circles, and hatches . While standard AutoCAD commands like
require selecting objects one by one, a LISP routine allows for a single selection of dozens or hundreds of entities to get an instant total. Autodesk Community, Autodesk Forums, Autodesk Forum Common Total Area LISP Routines
Several popular LISP routines are widely used by professionals to streamline these calculations: Total Area (TAREA): A lightweight routine by Lee Mac Programming
that sums the areas of selected objects and displays the result directly in the command line. AreaM (AREAM): Developed by Jimmy Bergmark at
, this script calculates the total area of various selected objects and is often paired with the command for complex drawings. Area to Field (A2F): Another popular Lee Mac routine
that doesn't just calculate the sum but creates an auto-updating MText field. If you modify the original object, the total area value updates automatically. MultiArea: A routine from ESurveying
that calculates the total area and automatically places a text label with the individual area at the centroid of each selected object. Lee Mac Programming How to Use a Total Area LISP To use these routines, you typically follow these steps: Download/Create the File: Save the LISP code as a file (e.g., TotalArea.lsp Load into AutoCAD: in the command line, select your file, and click "Load". Run the Command: Type the specific shortcut defined in the code (commonly Select Objects:
Use a window selection to grab all the closed polylines or circles you need to measure. Lee Mac Programming Typical Features and Capabilities
Calculating Total Area of Multiple Objects in AutoCAD using Lisp
AutoCAD is a powerful computer-aided design (CAD) software that offers a wide range of tools and features to create, edit, and manage 2D and 3D models. One of the common tasks in AutoCAD is to calculate the total area of multiple objects, such as rooms, buildings, or landscapes. While AutoCAD provides a built-in AREA command to calculate the area of a single object, it can be tedious to calculate the total area of multiple objects manually.
This is where Lisp comes in – a programming language that allows you to create custom functions and automate repetitive tasks in AutoCAD. In this article, we will explore how to write a Lisp program to calculate the total area of multiple objects in AutoCAD.
The Code
Here is the Lisp code that calculates the total area of multiple objects:
(defun c:totalarea ()
(setq total-area 0)
(setq ss (ssget "X"))
(if (/= ss nil)
(progn
(setq i 0)
(repeat (sslength ss)
(setq ent (ssname ss i))
(setq area (cdr (assoc 41 (entget ent))))
(if (/= area nil)
(setq total-area (+ total-area area)))
(setq i (+ i 1)))
(princ (strcat "Total Area: " (rtos total-area 2 2) " sq. units"))
)
(princ)
)
Let's break down the code:
How to Use the Code
To use this Lisp code in AutoCAD, follow these steps:
The Lisp function will calculate the total area of all selected objects and print the result to the command line.
Conclusion
In this article, we explored how to write a Lisp program to calculate the total area of multiple objects in AutoCAD. The code provided can be easily modified to suit specific needs, such as calculating the total area of objects with specific properties (e.g., by layer, color, etc.). With this Lisp function, you can automate the process of calculating total areas in AutoCAD and save time and effort.
AutoLISP routines for "Total Area" are custom scripts designed to automate the calculation and summation of areas from multiple objects within AutoCAD. While standard AutoCAD commands like AREA allow for manual summation, LISP routines significantly reduce repetitive manual entry and minimize potential human errors. Core Capabilities of Total Area LISP Routines
Automated Summation: Instantly calculates the cumulative area of a selection set containing varied objects such as closed polylines, circles, ellipses, and splines.
Dynamic Annotation: Many routines, such as those discussed on AutoCAD Forums, can automatically place text labels showing the area of each individual object or the grand total within the drawing.
Unit Conversion: Specialized scripts can measure in one unit (e.g., millimeters) and output results in another (e.g., square meters) without manual formulas.
Auto-Updating Fields: Advanced routines create "Field Expressions" that automatically update the displayed total if the linked geometry is modified and the drawing is regenerated. Popular LISP Routines & Commands ESurvey Lisp Help: Collection of AutoLisp for Entity Area
;;; TOTALAREA.LSP
;;; Calculates total area of selected objects
;;; Supports: Circles, Ellipses, Hatches, Polylines (2D/3D),
;;; Regions, Splines (planar)
(defun C:TOTALAREA (/ ss total-area obj-list obj area obj-name
cnt *error* old-cmdcho old-dimzin)
;; Error handler
(defun *error* (msg)
(if old-cmdcho (setvar "CMDECHO" old-cmdcho))
(if old-dimzin (setvar "DIMZIN" old-dimzin))
(if (not (member msg '("Function cancelled" "quit / exit abort")))
(princ (strcat "\nError: " msg))
)
(princ)
)
;; Save system variables
(setq old-cmdcho (getvar "CMDECHO"))
(setq old-dimzin (getvar "DIMZIN"))
(setvar "CMDECHO" 0)
(setvar "DIMZIN" 0) ; Suppress trailing zeros
(princ "\nSelect objects to calculate total area...")
(setq ss (ssget '((-4 . "<OR")
(0 . "CIRCLE")
(0 . "ELLIPSE")
(0 . "HATCH")
(0 . "LWPOLYLINE")
(0 . "POLYLINE")
(0 . "REGION")
(0 . "SPLINE")
(0 . "ARC") ; Arc (converted to region)
(0 . "LINE") ; Line (converted to region)
(0 . "LWPOLYLINE")
(-4 . "OR>"))))
(if (not ss)
(princ "\nNo objects selected.")
(progn
(setq total-area 0.0)
(setq obj-list '())
(setq cnt 0)
;; Process each selected object
(repeat (setq cnt (sslength ss))
(setq obj (ssname ss (setq cnt (1- cnt))))
(setq obj-name (cdr (assoc 0 (entget obj))))
;; Calculate area based on object type
(cond
;; For objects with direct Area property
((member obj-name '("CIRCLE" "ELLIPSE" "HATCH" "LWPOLYLINE"
"POLYLINE" "REGION" "SPLINE"))
(command "._AREA" "_O" obj)
(setq area (getvar "AREA"))
(if (> area 0)
(progn
(setq total-area (+ total-area area))
(setq obj-list (cons (list obj-name area) obj-list))
)
)
)
;; For objects that need conversion (lines, arcs)
((member obj-name '("LINE" "ARC"))
(princ (strcat "\nConverting " obj-name " to region for area calculation..."))
(command "._REGION" obj "")
(if (setq region-ent (entlast))
(progn
(command "._AREA" "_O" region-ent)
(setq area (getvar "AREA"))
(if (> area 0)
(progn
(setq total-area (+ total-area area))
(setq obj-list (cons (list obj-name area) obj-list))
)
)
(command "._ERASE" region-ent "") ; Clean up temporary region
)
(princ (strcat "\nFailed to convert " obj-name " to region"))
)
)
(t
(princ (strcat "\nUnsupported object type: " obj-name))
)
)
)
;; Display results
(princ "\n========================================")
(princ "\nAREA CALCULATION RESULTS")
(princ "\n========================================")
(if obj-list
(progn
(foreach item (reverse obj-list)
(princ (strcat "\n" (car item) ": "
(rtos (cadr item) 2 2) " sq units"))
)
(princ "\n----------------------------------------")
(princ (strcat "\nTOTAL AREA: " (rtos total-area 2 2) " sq units"))
;; Offer to display in different units
(initget "Yes No")
(if (= (getkword "\nDisplay in different units? [Yes/No] <No>: ") "Yes")
(progn
(princ "\nSelect unit conversion:")
(princ "\n 1 - Square feet")
(princ "\n 2 - Square meters")
(princ "\n 3 - Square yards")
(initget 1 "1 2 3")
(setq unit (getkword "\nEnter choice [1/2/3]: "))
(cond
((= unit "1") ; sq ft
(setq converted (* total-area 144.0)) ; assuming drawing units in inches
(princ (strcat "\nConverted: " (rtos converted 2 2) " sq ft")))
((= unit "2") ; sq meters
(setq converted (* total-area 0.00064516)) ; sq inches to sq meters
(princ (strcat "\nConverted: " (rtos converted 2 2) " sq meters")))
((= unit "3") ; sq yards
(setq converted (* total-area 0.000771605)) ; sq inches to sq yards
(princ (strcat "\nConverted: " (rtos converted 2 2) " sq yards")))
)
)
)
;; Option to write total to command line
(princ "\n========================================")
;; Copy total area to clipboard (optional)
(initget "Yes No")
(if (= (getkword "\nCopy total area to clipboard? [Yes/No] <No>: ") "Yes")
(progn
(setq area-str (rtos total-area 2 2))
(command "._SETENV" "Clipboard" area-str)
(princ "\nTotal area copied to clipboard!")
)
)
)
(princ "\nNo valid area objects selected.")
)
)
)
;; Restore system variables
(setvar "CMDECHO" old-cmdcho)
(setvar "DIMZIN" old-dimzin)
(princ)
)
;;; Command alias
(defun C:TA () (C:TOTALAREA))
;;; Load message
(princ "\nTOTALAREA.LSP loaded successfully!")
(princ "\nType 'TOTALAREA' or 'TA' to calculate total area.")
(princ)
Even the best Lisp routines can fail. Here are the top 5 errors and how to fix them.
| Error Message | Cause | Solution |
| :--- | :--- | :--- |
| "No valid objects selected" | You selected lines, arcs, or blocks. | Convert lines/arcs into a single Polyline (PEDIT command). Explode blocks first. |
| "; error: no function definition: VLAX-GET-AREA" | The Visual LISP extension is not loaded. | Type (vl-load-com) in the command line and press Enter, then retry TOTAREA. |
| Area = 0.00 | The polyline is self-intersecting or not closed. | Check the polyline property Closed = Yes. Use OVERKILL to clean up geometry. |
| Command: TOTAREA Unknown | The Lisp is not loaded correctly. | Re-run APPLOAD and ensure the file path is correct. Type (C:TOTAREA) manually. |
| Area is astronomically large | Your drawing units are in millimeters (1 unit = 1mm). | Divide total by 1,000,000 to get Sq. Meters. Or modify the Lisp to (/ total 1000000). |