Combining two nested lists

Hi all,

I am looking for a way insert the lists of one nested list into the other in an alternating fashion. Here is an example of what I am trying to accomplish.

Most advice I have found through searching indicated a python script may be necessary to accomplish this. I am unfortunately a beginner in Dynamo and have no coding experience.

Any advice would be much appreciated! Thanks,

-Matt

This should get you there out of the box! :slight_smile:

First, you create a list from both inputs, then you transpose them (Note: This may not work for jagged lists of different lengths), then you flatten the list structure.

3 Likes

So much more simple than I was making it… Thanks!