You could do a solution via geometry.
This definition creates a box at the center of the Curtain Panel and tests for a Collison with the Rooms.
Revit 2022 GET_ROOM_NUMBER.rvt (1.6 MB)
GET_ROOM_NUMBER.gh (12.8 KB)
You could do a solution via geometry.
This definition creates a box at the center of the Curtain Panel and tests for a Collison with the Rooms.