Filled Region of Selected Room

Do you guys have any working code on how to apply filled region in selected Rooms?

Room.Boundaries node from either clockwork or archilab.
Take the curves and create a filled region in the selected view by the elements.

Note: It will not work if you have a hole in the room, but you can do some slicing, removing, connecting and recreating to make two C shaped elements and override the linework in the view to be invisible lines.

Check following discussion.