"Splitting" a list

Hello everyone,

I have this list, and i want to “separate it” into smaller lists, 0-1, 2-3, 3-4… (this is parametric so the points might increase or decrease… but the small lists have to always be composed of two points.
After that, there should be another list combining 1-2, 3-4, 5-6…

At figure 1, there is the list i want to separate.
At figure 2, i am showing what the points of the list crate, so the diagonal members of the truss.
The yellow cross section (which is supposed to be box cross section) is implemented from EXCEL. since the diagonals are taken as one single polyline, the cross section get curvy, which i do not want. i have to get those diagonal as single members, so the cross section remains as a box from the beginning to the end.

Any help? I am running out of ideas :frowning:

Thank you.
1

Use the component “Partition List” to make the chunks.

Then, when you want to skip the first item, use “Remove Item” with index 0 or use “Split list” with index 1.

1 Like

@maje90
Thank you a lot!!! It worked perfectly. :slight_smile: