Generate Window Openings

Hi All,

For a current project i m working on i need to generate Window Openings for the production proces. My guess is that the machine used to create the prefab walls cant read different solutions than Window Openenings.

This is what my example project looks like:

I managed to create a Generic Model Void based on the complex window family. Maybe we dont need this to solve my problem but i thought it’s good to explain of where i want to cut my inner wall. Down here a picture after running the script. the script i used is also added.

image
The orange boxes are the Generic Model Voids. these represent the Window Opening at the intersection with the innerwall.

Any thoughts on how to do this?

The script to generate the Generic Model Void. Dynamo 2.0.2
Packages used in this script:
Clockwork for Dynamo 2.x version: 2.1.2
Rhythm version: 2019.4.3
archi-lab.net version: 2019.2.25
IГIS version: 0.1.1
Orchid version: 202.5.0.7053

DynamoForum_GM_Void.dyn (107.4 KB)

The project is saved in Revit 2019: here the download link (onedrive).

Anyone who can point me in the right direction?