Get area from rooms inside area boundary


I have to gather area information from multiple rooms inside of area boundary.

Does anyone have experience with this?


What do you mean exactly? Can you show an example?

If you need to group rooms, according to areas, you can:

  • get area boundaries with Areas.OuterBoundary from Rhythm package
  • get room point location with GetLocation
  • use Polygon.ContainmentTest to group them
1 Like

For example, see picture.

I need to sum up the area of all rooms placed inside Area 101, all rooms placed inside Area 102…
The best option would be to get the total room area within each Area (101, 102…) in schedule or write to excel.

Hope this explain what I’m doing.

Something like this should work:


Thank you for this.

I tried to replicate this but somehow I’m only getting total Room Area within one Area boundary.
I’m not getting the area information listed up like you do.

GetRoomArea-NotWorking.dyn (20.3 KB)

Hi @jon2

Right click “Polygon.ContainmentTest” node change lacing to cross.

Thanks for the reply. It worked! I got all the information written to excel from my demo project.

But it gets more complicated when I’m implementing this to the project I’m working on. The Polygon.ContainmentTest seams not to be time efficient for complex Revit models.

Is there some other Node out there which is more time efficient?

@jon2 Well, Here is the more time efficient node from Rhythm :wink:

Don’t forget to mark the post as solved. Cheers!

@lucamanzoni FYI :point_up:



One last thing. I was able to sort Areas by Number parameter with @lucamanzoni script but I’m not so sure I have the solution in yours.

I really have to get that right if I want the information to stack up in right order.


I was able to sort the Areas by Number parameter but my Room Area sum up doesn’t sort up in right order.


Drop rvt file here.

Hi, I’ve been looking for a solution to this issue for a long time. But this node doesn’t work, it writes null. Maybe you know what the problem is?