# Calculate Wall's Area

**URL:** <https://forum.dynamobim.com/t/calculate-walls-area/13648>\
**Category:** Revit\
**Created:** [August 1, 2017, 9:49pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648 "2017-08-01T21:49:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 1, 2017, 9:49pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/1 "2017-08-01T21:49:16Z")

</div>

Hello everybody  
My Revit project has lots of walls with openings (windows) and I need to calculate each wall’s area up to a certain height. for example in the uploaded image i need a Dynamo code to calculate the wall’s area which is under the red line (blue area under red line).  
can anyone help me?  
Thank you very much

 ![2008_the_dark_knight - Copy](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a4cf3e674b1784c472728830b69a51eeb71ad6c4.jpg)

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 1, 2017, 10:21pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/2 "2017-08-01T22:21:50Z")

</div>

I’d use select by face for the wall, select model element for a cutting curve or plane. Then use the custom node " Intersection.Geometry Split" from LunchBox.

![2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/9887c2dbd88b542fa7196a6d427c59dfa89f617b.png)![1|

---

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 1, 2017, 10:34pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/3 "2017-08-01T22:34:17Z")

</div>

Thanks so much dear Tay, but i don’t want to select surface manually, because my code should works for lots of walls. can you suggest a code without selecting surface manually?

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 1, 2017, 10:47pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/4 "2017-08-01T22:47:28Z")

</div>

Joe,

do you want to pick the interior faces? exterior faces? or Both?

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 1, 2017, 10:59pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/5 "2017-08-01T22:59:47Z")

</div>

You can pick all walls by category, extract the location line using “Element.Location” from clockwork and extrude it by the unconnected height and get the areas.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/4/849acd299ea59ecb6829ffb2b7f4d36896178808.png)

---

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 1, 2017, 11:01pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/6 "2017-08-01T23:01:01Z")

</div>

it does not matter. interior or exterior faces dose not make any difference for me. i just need the wall’s area under a certain height. for example a wall is between 3 and 6 meters height, I want to get the wall’s area under 5 meters height, in other words the area of wall that constraints between bottom of wall (3 meters) and certain height(5 meters)

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 1, 2017, 11:10pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/7 "2017-08-01T23:10:46Z")

</div>

even easier.  
1- select all walls by category  
2- use clockwork, Extract "wall.location.line"  
3- Extrude the curved by 5 meters using "Curve.Extrude"  
4- Calculate surface area. (also you can sum the content of the list to get total area)

---

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 1, 2017, 11:11pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/8 "2017-08-01T23:11:06Z")

</div>

Thank you so much dear Tay , that’s exactly what i was looking for!

---

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 1, 2017, 11:30pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/9 "2017-08-01T23:30:51Z")

</div>

sorry sir, i checked it again and i realized that this code does not subtract the windows’ areas, what should we do?

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 2, 2017, 12:36am UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/10 "2017-08-02T00:36:19Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/f/2fcb5e882badf9f3d5dda535617e0443c3ed90de.png)

---

<div class="post-metadata">

**Author:** ![tay0thman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tay0thman/32/29509_2.png) [@tay0thman](https://forum.dynamobim.com/u/tay0thman)\
**Post date:** [August 2, 2017, 12:38am UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/11 "2017-08-02T00:38:18Z")

</div>

[Walls Surface Area.dyn](https://forum.dynamobim.com/uploads/short-url/lQS3kXqko77cVGXYl8AdsdMHr1k.dyn) (16.6 KB)

Here you go.

Make sure you have the packages installed:  
1- Clockwork  
2- Ampersand

---

<div class="post-metadata">

**Author:** ![Joe1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joe1/32/27963_2.png) [@Joe1](https://forum.dynamobim.com/u/Joe1)\
**Post date:** [August 2, 2017, 10:50am UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/12 "2017-08-02T10:50:22Z")

</div>

Thanks so much dear Tay, it works correctly, sorry for the late answer!

---

<div class="post-metadata">

**Author:** ![Frabrooklyn91](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Frabrooklyn91](https://forum.dynamobim.com/u/Frabrooklyn91)\
**Post date:** [January 23, 2019, 3:08pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/13 "2019-01-23T15:08:22Z")

</div>

HI! I’ve just found this old discussion, i was wondering if you can help me to calculate the wall surfaces in order to obtain the total area for wall painting than, calculating the interior area for external walls and both faces for internal walls.  
Thank you so much.

---

<div class="post-metadata">

**Author:** ![jes.gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jes.gonzalez](https://forum.dynamobim.com/u/jes.gonzalez)\
**Post date:** [January 24, 2019, 8:01pm UTC](https://forum.dynamobim.com/t/calculate-walls-area/13648/14 "2019-01-24T20:01:59Z")

</div>

You can get the sf of wall/material with a simple revit schedule. I think using dynamo to do this is overkill.
