# Element.Geometry returns null with Floors

**URL:** <https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683>\
**Category:** Geometry\
**Tags:** geometry\
**Created:** [October 26, 2018, 9:19am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683 "2018-10-26T09:19:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rastermadre](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rastermadre](https://forum.dynamobim.com/u/rastermadre)\
**Post date:** [October 26, 2018, 9:19am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/1 "2018-10-26T09:19:21Z")

</div>

Element.Geometry returns null in more than half of the floors that I need to work with. I have to get to the top surface of the floors.  
All floors are sloped, with modified sub elements.

 ![floor%20null%20geometry](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/0/00ab8a0474a6210cd90896e06b3d69d3888c5154.jpeg)

Changing the working range would result it changing percentage of null values, but won’t get rid of them.  
(S - 43%; M - 40 % L - 20 % XL - 92% of elements return null geometry).  
The problem is not with the working range though, as some of the elements don’t return any geometry no matter what, even isolated in a new project.

 ![error%20floor%20geometry](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/f/df11f266f0fd02632f084d2c89397d4d15482d84.jpeg)

Any ideas how to get to that geometry?

[test\_floor\_R2018.rvt](https://forum.dynamobim.com/uploads/short-url/35yGc8cNFuslB2aSAjRCRkveYA2.rvt) (1.5 MB)

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [October 26, 2018, 9:20am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/2 "2018-10-26T09:20:54Z")

</div>

I had a similar problem when the boundary lines of a floor were very short in some part of the floor, or the angle was too sharp. Maybe try to simplify the boundary lines?

---

<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:** [October 26, 2018, 9:47am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/3 "2018-10-26T09:47:48Z")

</div>

Hi @rastermadre

Looks like you have planar shape floors. Try using “Springs.Collector.Element.Sketch” node from spring nodes package.

![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/e/5/e5439ec26cdd56ae59addc9c0f3eb6161adbfea4.jpg)

---

<div class="post-metadata">

**Author:** ![rastermadre](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rastermadre](https://forum.dynamobim.com/u/rastermadre)\
**Post date:** [October 26, 2018, 9:56am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/4 "2018-10-26T09:56:14Z")

</div>

not it, this one couldn’t be more simple, but the geometry is still null.

 ![floor%20boundary](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/5/c5d958576c5e3a15024d8bf612293c4ea34b3cf8.jpeg)

---

<div class="post-metadata">

**Author:** ![rastermadre](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rastermadre](https://forum.dynamobim.com/u/rastermadre)\
**Post date:** [October 26, 2018, 9:58am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/5 "2018-10-26T09:58:01Z")

</div>

my bad, i should have mentioned that I need to get to the top surface of the floors.

thanks for the node suggestion though, will come in handy in other situations.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 27, 2018, 5:30am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/6 "2018-10-27T05:30:17Z")

</div>

Select face maybe?

---

<div class="post-metadata">

**Author:** ![rastermadre](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rastermadre](https://forum.dynamobim.com/u/rastermadre)\
**Post date:** [October 29, 2018, 9:48am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/7 "2018-10-29T09:48:48Z")

</div>

Thanks, it worked  
But in search for the top surface I’ve found my answer here:

> [@Modified Floor Top Surface](https://forum.dynamobim.com/t/modified-floor-top-surface/16196):
>
> Hi all, I was trying to get the surface of the modified floor points but still no success. as a start please see attached images of what im trying to do. Thank you.

The Python script proved slightly more accurate, although it’s not 100% precise with the floors cut by floor openings.

Revit Geometry conversion method:

 ![Revit%20geometry%20conversion%20method](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/0/3027499583f6c75a74fe4053fff1b3fc2fb32b5b.jpeg)

Face selection method:

 ![Select%20face%20method](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/7/977e3a464459224caad6ea370bf0e1e8530727e1.jpeg)

---

<div class="post-metadata">

**Author:** ![Alex\_Shovelton](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Alex\_Shovelton](https://forum.dynamobim.com/u/Alex_Shovelton)\
**Post date:** [February 12, 2019, 10:06am UTC](https://forum.dynamobim.com/t/element-geometry-returns-null-with-floors/27683/8 "2019-02-12T10:06:30Z")

</div>

Hi, try exporting a SAT file from the view then importing the geometry back into Dynamo. [https://forum.dynamobim.com/t/revit-floor-getting-the-element-geometry-problem/17855/15?u=alex\_shovelton](https://forum.dynamobim.com/t/revit-floor-getting-the-element-geometry-problem/17855/15?u=alex_shovelton)
