Place Beam by Curve and connect by 2 group of beam

Actually I don`t know how to describe the problem I encounter.



The Yellow beam which is place beam by gridline and project up to the surface. The green beam connect 2 group of yellow beam.
But the script cannot generate the green beam.

The script is here.Place beam on grid projection.dyn (197.7 KB)

If you upload sample Revit it will be easy to assist.

The Sample Revit file here. Thank you.

I’m so sorry if the explanation wasn`t clear enough to understand.The script is made by TWO parts.

First, The script can now generate the Yellow Beam base on Gridline and align to the bottom surface above. Which is the photo attach 1AB-3AB. All the users has to do is select the floor and the Beam place on the bottom surface of the floor.

Second part is to generate the Green beam between 2 group of Yellow Beam. Which mean the photo attach here shows is 2B-3A and NOT 1AB.

But Im not sure where the error is. why cant the script select those two Yellow beam as boundary to generate the cross beam(Green beam).

the floor, not equal that’s makes hard…i don’t what exact intention and scope.

I am trying another method. Get the floor boundary and separate by the long beam(Yellow). Create a beam system and project them to the floor level. To see if this work or not.