Combined in the hierarchy of the same list

How can two lists like the one on the left be combined to create a list like the one on the right?

That way, the list hierarchy will be broken.

hi
transpose twice

2 Likes

If the hierarchy of the list of input values changes, is there a way it can be applied to it?

it is all depend on the input, but basically try change levels on Transpose node L1,L2 …etc

I’m assuming execution with DynamoPlayer, so I don’t want to specify the hierarchy as much as possible …

i suggest to list and flatten the main input at first of your script , so that you guarantee what the hierarchy it will be all the time

I need to maintain the hierarchy as it affects other lists as well.

Maybe this helps?

and if you put item at keep list structure:

1 Like