# Get needed Area from Revit

**URL:** <https://forum.dynamobim.com/t/get-needed-area-from-revit/21347>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 24, 2018, 8:14am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347 "2018-04-24T08:14:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![josef.radi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/josef.radi/32/56685_2.png) [@josef.radi](https://forum.dynamobim.com/u/josef.radi)\
**Post date:** [April 24, 2018, 8:14am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347/1 "2018-04-24T08:14:41Z")

</div>

Hello,

I want to get the surface of my needed area in dynamo to go on with my existing skript. How can I get the surface if there exists walls and slabs.

a picture to make it clear:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/e/3e679dfbbad501ca894b0dfd977087ab6f673554.jpg)

I tried it with “Select Edges” but the lines are not closed so it doesnt work with surface.bypatch.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/80d1f445654358a6d44658c6a1287b386488df14.png)

How can I do it in the best way?

Thanks

Regards  
Josef

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 24, 2018, 9:39am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347/2 "2018-04-24T09:39:05Z")

</div>

Hi @josef.radi

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/502d7c100e3bcbfce755991fba1d5cad5bfb645e.png)

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [April 24, 2018, 10:10am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347/3 "2018-04-24T10:10:47Z")

</div>

@Kulkul does that work if the curve ends are not coincidental, as shown in the picture above? Would an intersection of vectors to determine the offset dimesnion of the curve ends be required to form a joined curve list prior to this workflow?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 24, 2018, 10:47am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347/4 "2018-04-24T10:47:35Z")

</div>

> [@Ewan\_Opie](#):
>
> does that work if the curve ends are not coincidental, as shown in the picture above?

In that case use Springs.LineLoopMerge node to join all the lines which are not coincidental.

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

---

<div class="post-metadata">

**Author:** ![josef.radi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/josef.radi/32/56685_2.png) [@josef.radi](https://forum.dynamobim.com/u/josef.radi)\
**Post date:** [April 24, 2018, 10:54am UTC](https://forum.dynamobim.com/t/get-needed-area-from-revit/21347/5 "2018-04-24T10:54:29Z")

</div>

Thanks thats exactly what I needed!

Its great that this also works if lines are too long 🙂

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