Automatic surface area calculation

Automatic surface area calculation

n_sediki
Observer Observer
1,411 Views
9 Replies
Message 1 of 10

Automatic surface area calculation

n_sediki
Observer
Observer

Is there any reliable Lisp in autocad  among the ones you have analyzed that can automatically calculate the surface area of a building plan without having to draw polylines?

0 Likes
Accepted solutions (1)
1,412 Views
9 Replies
Replies (9)
Message 2 of 10

hosneyalaa
Advisor
Advisor

@n_sediki 

 you can include a sample dwg

Message 3 of 10

Kent1Cooper
Consultant
Consultant

If by "surface area" you mean overall exterior-of-walls "building footprint," then maybe:

 

1)  Ensure there's nothing outside the building to impose itself in the operation, or turn off Layers that such things are on, such as for paths/sidewalks/curbs/parking/landscaping.

2)  Turn off Layers containing anything like out-swinging doors, and ensure there are Lines or something across the openings, so that the perimeter is "air-tight."  Something similar with things like window sills that project from the wall surface, if their area should not be counted as part of the building area.  Include things like roof overhangs and canopies if their area needs to be counted.

The rest of this could be automated easily enough:

3)  Draw a CIRCLE or a RECTANGLE or something fully outboard of the footprint.  [Save that to a variable for later deletion.]

4)  Use BOUNDARY or BPOLY, picking in the space between that outer shape and the building.  That will make a Polyline for you around the footprint, and one coinciding with the outer shape.

5)  [I'm not sure this will always be true, but it seems to be in trials:]  ERASE Last will remove the one coinciding with the outer shape.

6)  Take the AREA of what is now the Last object.

7)  Delete that if you don't need it any more, and the outer shape.

 

Even parts of steps 1) and 2) could be automated if your plans are drawn with consistent Layer names, door and/or window Blocks are built with header lines on their own Layer, etc.

 

Search for SHRINKWRAP which could do much of that -- I forget whether it's a routine that's out there or a feature of one of the overlay programs.

Kent Cooper, AIA
Message 4 of 10

noura.arahmane5
Observer
Observer

I understand this technique well, but unfortunately it is not useful in my work because I have complex building forms and all trade corps. Just imagine the time I spend purging the lines and deactivating the layers. It would take up all my time. Right now, I have a research mission to see if it is possible to find techniques, methods, and software to automate the calculation of surfaces without drawing them. That's why I am searching everywhere on AutoCAD, Revit, Dynamo, etc. Anyway, thank you for your help. It's very kind, and we are thinking of the same solution.

0 Likes
Message 5 of 10

noura.arahmane5
Observer
Observer

I did not understand well

0 Likes
Message 6 of 10

diagodose2009
Collaborator
Collaborator
Accepted solution

You can extract coordinate/s wtih precision centrimetric, and

  - calculate area with tolerance max=+/- 2meters.

You export a MsWord.docClipboard103.jpg

You cannot got area-value-good-calculation, but the

 -- precision is good enough.Enter command: C: AN15[enter]

Maybe you need fast-calculation of AREA but with low-precision?

 

-Area1 planimetrica calculata analitic=5229.9m²
-Area2 calculata cu coordonatele tabelului=5229.5mp²
-Aria3d in spatiul 3D=5229.7m²

 

 

Message 7 of 10

noura.arahmane5
Observer
Observer

Actually, in my work, I do not calculate spaces because as an architect, I receive many construction plans and I have to draw my own spaces to test the performance of my building. I have to draw the outlines to extract the surfaces. I am trying to optimize this task because sometimes I have buildings with 25 floors and various layouts on the left and right. So, in the end, I thought to myself, if I want to be efficient, I should search for a method to obtain the surfaces of my building without drawing the outlines but thank you for this lisp I will use it and see how it works maybe it will be useful for me thank you for your help

0 Likes
Message 8 of 10

Sea-Haven
Mentor
Mentor

A random shapes as suggested by Kent what is wrong with this method very simple. Using  a lisp an outer rectang is made.

Pick point P1

Pick point P2

Pick point P3

Area = 1224.56 sq ft. Write as text in dwg.

 

Area is returned you will not see other objects being made as it take micro seconds and then erased after getting an area. See red object in image, it is the desired area, it will be erased automatically.

SeaHaven_1-1714782768045.png

 

 

 

 

0 Likes
Message 9 of 10

b_burce
Explorer
Explorer

When u load the lisp and apply it,, it change the language of the application from english to...is there any which stay in english language?

0 Likes
Message 10 of 10

omarsvn
Enthusiast
Enthusiast

can you share one of the drawing you handle as a reference? I understand what you are saying, but I think first of all you have identify the lines you have to use in order to get the area, if you already do that, you can use isolate command and after that boundary command, you are going to get the polyline and extract the area

0 Likes