Place Window Family to a Curtain Wall

Hello everyone,

The method we draw windows in Revit is by drawing a Curtain Wall and when we have a width and height we use a plug in to apply a window type family with the same width and height next to the curtain wall.

I was looking for a possibility in Dynamo so I was starting to do some research but it’s more complicated then I thought.

The way we draw this in Revit is as following:

We use 3 type walls for the exteriorwall and a curtain wall which is 70mm deepenend in the first exterior wall.
The family type uses the most exterior wall as a family host.

I’ve uploaded a project file link from wetransfer for making it easier to understand.

Kind Regards,