How to get info on which room does a window/door belong to?

Previously I used to do that by analyze instance space inputting the windows as family instance, however after updating the rhino inside build this now gives me nulls, what is now the proper way to do this?
Finally I need room shapes with cut window openings (energy model).

See attached. If you are continuing to have issues please post a small example file (note the Revit & RiR Version)

Thanks.

RE_window_Room_To-From.gh (10.8 KB)