Create beam on each window and door


Hello everybody,

I’m wondering if I can extract a line (horizontal) ? from these parameters concerning windows.

  • Windows frame mullion cut
  • Wind glass cut
  • Glass project
  • Hidden lines
  • Oppening cut
  • Wind opening projection
  • Windows still head cut
  • window still head projection
  • window tags

I need this line to create a beam on every window of my project (for a structural analysis after export), I made a Dynamo program which does this but I have a problem to find the direction of the beam.

The problem is shown on the photo.

Thaaank you for advance