Vasanth_C
(Vasanth C)
June 22, 2026, 3:11am
1
Hello guys,
as clearly in the image,
you can see that the list of lines are flattened
but when i partition them, they dont get together in groups of 2
Could you please clarify, what is the problem here
Thank you.
Attached GH script below,( doesnt have any internalized geo, all geo were grasshopper generated)
strip facade forum doubt.gh (52.6 KB)
What do you expect to see in one branch?
i think this is what you look for @Vasanth_C
strip facade forum doubt_a.gh (22.3 KB)
Vasanth_C
(Vasanth C)
June 22, 2026, 7:33am
5
I just want pairs of the left and right lines @martinsiegrist
Vasanth_C
(Vasanth C)
June 22, 2026, 7:41am
6
strip facade.gh (52.6 KB)
The partition list just produces pairs skipping the lines next to one, they jump by one
I need lines which are flattened in one list , to just be paired in two
And I m not getting them when I use the partition list on the flattened list group
Hope I’m able to make sense
Thank you for your help guys, @martinsiegrist @rajeev_pulari
Hi.
I think you are confusing Branches and Items.
The data tree seems to be already correct, if you flatten and the partition you are at the beginning.
If you use List Item, you pick Items from each list, like you see. You may want to try Tree Branch
Vasanth C:
you can see that the list of lines are flattened
but when i partition them, they dont get together in groups of 2
or you can use Group instead of Flatten, and Flatten after that
Vasanth_C
(Vasanth C)
June 22, 2026, 8:02am
8
Hello @Fabio_Franchetti I have 1 pair, when i use tree branch
I need others , can you explain what do i do after this?
Thank you!
strip facade forum doubt.gh (59.2 KB)
Let’s not pretend that the problem you have here is that you do not understand data trees…:
strip facade forum doubt VR 1.gh (21.3 KB)
Vasanth_C
(Vasanth C)
June 22, 2026, 9:08am
11
I’m understanding, and please have a respective tone
You have provided a result of pairs which I have already have
I’m trying to create a pair of green and red, not a list of green, red
Thank you for your efforts.
That’s what you already have. Two lines per branch.
Vasanth_C
(Vasanth C)
June 22, 2026, 9:33am
13
I have to have the first two as a pair , and carry the same pattern thereafter @martinsiegrist
presently i have the skipped ones as in one group/branch
u all ready have it why merge and flatten it it instead partition it
Vasanth_C
(Vasanth C)
June 22, 2026, 10:19am
15
strip facade.gh (58.6 KB)
when partitioned, the right result which i require doesnt come
thank you
This is in branch 0 on my screenshot above
Use your desired paths in Tree Branch input
Vasanth_C
(Vasanth C)
June 22, 2026, 10:49am
18
Isnt there a way to get all the branches?
I dont want a specific branch alone
Thank you
Vasanth_C
(Vasanth C)
June 22, 2026, 10:56am
20
That just gives the 1st pair alone, I am in need of the rest , Thank you. @Edr