Help me Group Frames with intersect. Thank you sooo much

Hello everyone in Group.
I’m trying to create the scrip with dynamo. I would like to group the beam intersec with function:

  1. If frame is drawing by 1 frame. They will group this frame, the start and end vertical frame.
  2. If frames they are drawing by more 2 frames. They will group like this picture.
    Pleáse help me. Thank you so much!

Do you mean the same type?

1 Like

Maybe you can find some insight on this topic:


Thank you, i just do it.

Thank you so much!