How to get Wall (doors and windows) openings as a polysurface?

Hi everyone!

Can someone please help me how can i get the the doors and windows opening as a poly surface.

I cant use the windows and doors parameters. The parameters are not consistent.
I have attached a screenshot. I want the red lines(shown in the screenshot) as a poly surface. Can someone please help me how can i achieve that?

Thanks alot

Intersect the extrusion of the wall’s location line with the solid, and subtract the resulting surface from the original surface.