Print Page | Close Window

Compute the area of more selected surfaces

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=6136
Printed Date: 22.Apr.2026 at 06:12


Topic: Compute the area of more selected surfaces
Posted By: delftse_student
Subject: Compute the area of more selected surfaces
Date Posted: 24.Jun.2011 at 11:39
Hello everybody, 

I have a regional plan for an area (in dwg) and I need to compute the total area for housing, agriculture, industry, green open spaces etc.

I want to isolate the specific layer, select all the hatches and find the total area. 

But this is not possible in Autcad. So how can you do this? Is there any utility i can download for free and use it? 

I tried to find some answer on the forum but with no luck. 

Thanks a lot and appreciating

Cristian 





Replies:
Posted By: delftse_student
Date Posted: 24.Jun.2011 at 11:47
i rephrase a bit, if i select all the areas in autocad, in the properties panel it says that the area varies. 

C


Posted By: John Connor
Date Posted: 24.Jun.2011 at 12:08
It sounds as though you would benefit from one of the many custom area lisp routines that are available here and at other AutoCAD help sites and at the website of Cadalyst magazine.  I'd suggest a search is in order.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: Vladimir Michl
Date Posted: 24.Jun.2011 at 12:10
Try e.g. the SumaPloch utility at the Download page here. See the tip:
http://www.cadforum.cz/cadforum_en/compute-total-area-of-selected-objects-tip6574 - http://www.cadforum.cz/cadforum_en/compute-total-area-of-selected-objects-tip6574

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: delftse_student
Date Posted: 24.Jun.2011 at 12:15
Ok, cool thanks for the tip. But after i load it how does it work? 

If I invoke the lisp sumaploch and then select all the areas it says: error /  Automation error! 


Thanks, 
C


Posted By: philippe JOSEPH
Date Posted: 24.Jun.2011 at 12:37
Try to get the informations about the different selected areas with the command "massprop" ( if exists in your AUTOCAD 2010 ) instead of reading the informations in the properties pannel or with the command "list"


Posted By: John Connor
Date Posted: 24.Jun.2011 at 12:48
You could try this lisp routine I found at Cadalyst magazine called Area-of-a-Hatch.

http://cadtips.cadalyst.com/hatch-data/determine-area-a-hatch


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: delftse_student
Date Posted: 24.Jun.2011 at 14:20
John I checked the link you gave me (http://cadtips.cadalyst.com/hatch-data/determine-area-a-hatch) and it's just a general comment about hatches, NO lisp to download and use. 

I am still looking for a solution to try to compute more hatches selected. I had tried several lisp but nothing seems working. 

SumaPloch also is not working. 


Posted By: John Connor
Date Posted: 24.Jun.2011 at 14:36
Sorry about that.  99.99% of the time a free lisp routine is available not just a tip.  But, if you search that same site I'm sure you'll find something that works for you.  It is a good resource.

You can try the POLYAREA.lsp found here:

http://www.turvill.com/t2/free_stuff/index.htm


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: John Connor
Date Posted: 24.Jun.2011 at 14:47
Another option. as suggested by Lynn Allen of AutoDesk.

Need to find the area of a hatch pattern?  Don't forget the age old LIST command - simply select the crosshatching and AutoCAD will list the total area. 

Last one.  See this thread found in the AUGI forum.  Pay particular attention to the lisp routines written by fixo.

http://www.augi.com/forums/showthread.php?s=cd9b682af4927d8de1dfe73c44bae094&t=23362


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: delftse_student
Date Posted: 24.Jun.2011 at 14:48
Thanks a lot John for your time and patience I will try the polyarea lsp. 

Cheers, 

C



Posted By: delftse_student
Date Posted: 24.Jun.2011 at 14:56
I had tried the polyarea, and the list. They are not working... 

With sumaploch, just like with the list, if i take hatches one by one i get a total. But there are many hatches (areas) i need to pick so if i make a frame and select all of them at once, then the application fails!

I am running short of ideas... 

C



Posted By: John Connor
Date Posted: 24.Jun.2011 at 15:08
So let's say you have ten hatched areas.  You want to window all ten and get a sum of their combined areas right?

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: John Connor
Date Posted: 24.Jun.2011 at 15:34
Alright.  I downloaded POLYAREA.lsp and tested it.  It seemed to work for me.  I had ten closed polylines that were hatched and I windowed all ten and the lisp routine returned the sum of all their areas in a dialog box.  What happens when you use it?

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: delftse_student
Date Posted: 24.Jun.2011 at 15:46
it says: 

Cannot calculate the area of a self intersecting curve.
Select objects: _.area
*Invalid selection*
Expects a point or Last
; error: Function cancelled


Posted By: John Connor
Date Posted: 24.Jun.2011 at 15:52
One or more of your closed polylines is/are overlapping itself.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: delftse_student
Date Posted: 24.Jun.2011 at 15:55
I understand that, but isn't it possible then to just measure the hatched area? 

I mean, this is what I am trying to do, not to measure the enclosed polyline surface as I expect polylines might not be correct, but to measure the hatch areas. 





Posted By: John Connor
Date Posted: 24.Jun.2011 at 15:59
The routine does not allow for bad geometry.  What can I say?  I did not write it.

I did however test it further by purposely overlapping hatched objects and it still worked.  Unfortunately your situation is a bit different.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>




Print Page | Close Window