Opening in structural beams

I would like to create script for structural beam opening by finding intersections from linked MEP file. please do share here list of nodes or if possible,share script.