Element.Geometry returns null with Floors

geometry
#1

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.

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.

Any ideas how to get to that geometry?

test_floor_R2018.rvt (1.5 MB)

0 Likes

#2

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?

0 Likes

#3

Hi @rastermadre

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

0 Likes

#4

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

0 Likes

#5

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.

0 Likes

#6

Select face maybe?

0 Likes

#7

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

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

Revit Geometry conversion method:

Face selection method:

0 Likes

#8

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

0 Likes