Finding / filtering rooms that have / don't have windows

hello, I’m using an isovist node and what I want to do basically is if the isovist point is analyzing in the room that has windows, it tells you the area value. However, if you are in a room that has no window, it doesn’t tell you anything.

my isovist is based a point that I created on revit environment.

I’m trying to

  1. find / filter all the rooms with / without rooms
  2. If the point/isovist is in the room with window, it tells the area value
  3. if not, it just says an error statement.

thank you very much!

If the rooms are aligned to the X and Y axes, you could try this …

filterRoomsWindows.dyn (15.6 KB)