Automatic opening in structural beams

Hello Folks,

I have been trying to create an Opening Family (Rectangular face based) into the beam by finding intersection Point from linked MEP ducts.
This script worked perfectly for walls and Floors but as beam in revit is itlself an Family, i didn’t got any success. The Opening Family Ends up at the Bottom of the Floor (see Picture below)

Here find the Dynamo script and openig Family that i used. Any suggestions would be highly appreciated.
M_Rectangular Face Opening.rfa (452 KB)

Dynamo-durchbrueche-fortgeschritten_Skelettbau.dyn (34.7 KB)

hi, r.chowdhary did found any solution or any script for opening in Structural BEAM?