Hello everyone,
I need help to solve this problem.
I would turn my list [xi] [yi] [zi] in a list [xi] [yi].


I tried with Flatten and List.map but I can not apply Flatten the sublist.
Do you have any advice?
Thanks in advance for the help.
Daniele
Hello everyone,
I need help to solve this problem.
I would turn my list [xi] [yi] [zi] in a list [xi] [yi].


I tried with Flatten and List.map but I can not apply Flatten the sublist.
Do you have any advice?
Thanks in advance for the help.
Daniele
Hi, Daniele.
I would really recommend looking into replication guides!
I could give you some links explaining replication guides, but the dev team have changed replication guides somewhat in the 1.0.0 release so I’m uncertain of the content’s integrity.
where can one find these replication guides? Thanks in advance!
i also have this kind of error “Warning: Method ‘Flatten’ has been deprecated, please use method ‘DSCore.List.Flatten’ instead”
this seems to be working

Hi @guray.batur,
I not positive but the methods shown here were the means to flatten lists before dynamo introduced ‘levels’ and the ‘amt’ port.
I’m sure the code boxes work fine, but maybe try experimenting with the Flatten node in regards to levels and amts. See example below:
The Dynamo Primer has a section on this as well:
https://primer.dynamobim.org/06_Designing-with-Lists/6-3_lists-of-lists.html
Best,
Ben