Sorry for the late reply.
I will explain how it works.
First. From the Diagrid Structure object I take the generated structure lines (truss) and I identify the starting points of each line using Ends Points object. To each starting point I assign a plane.
Second. Once each point has been associated with a plane, it is necessary to align (rotate) each one with respect to the corresponding baseline (using Align object).
Third. Once again it is neccesary to rotate the planes but in the required direction to generate the truss elements now. So I generated direction vectors using star-end points and then rotate the planes using Adjust Plane object.
Fourth. Using Path Mapper object I ordered the list of items as neccesary to generate rectangles and extrude through the rails lines.
It is difficult to explain, but I hope you have understood.