Automatically placing doors and windows as per cad blocks

Please guide me how to place windows automatically as per cad blocks using dynamo? Please find the attached cad drawing.

Thanks in advance :slight_smile:

Demo plan.dwg (48.3 KB)

Use Search?

Thank you @Bjorn_Keulemans1 for the answer, but i need to place doors and windows which will be wall host. The script is not working for the windows.

I have tried placing the windows at the points shown in the below image but they are not picking the host.

Please help me in this.

Plan_windows.dwg (503.8 KB)
windows from CAD.dyn (58.6 KB)