Element.Level into seperate lists

Hello,

I am trying to turn a list into multiple lists based on the level.

Can someone tell me a node that can do It?

look into a node like “List.GroupByKey”

List.GroupByKey.dyn (11.9 KB)

2 Likes

That Is what I was looking for :slight_smile: nice.

Thank you very much.

1 Like

How would I turn the groups into multiple lists?

may be like this?

2 Likes

Wondering If doing It like this would be a good Idea, since In this project I have 14 lists, but In another could be more or less..

Which turns the scipt semi automatic.

A list of list is actually multiple lists (nested). What you need from that point forward is to structure your data and steps in such a way that the result is correct with however many nested lists you get.

Check Lists in Primer to see that structure happening.

1 Like