Hello guys,

I am trying to create a code that assesses the regularity of a building in elevation. To do so, I need to check for the occurrence of setbacks in a floor. The solution I came up with is to retrieve the length and width of a floor and compare it with the one above. However, this is not possible since Revit only gives the Area and Perimeter of a floor (integration).

For simplification, I want to only get the length and width at the geometric centroid of a floor. I thought to do so by cutting or slicing each floor at the middle and take the dimension of that section. I tried to do by geometry split but I still get a surface which is not helpful.

I would really appreciate any suggestions from technical or the way I am approaching this problem.

Thanks in advance

This is what I mean by setbacks in a building