I’m trying to combine two lists by inserting every other item from each of the lists to a new, combined list. (Ex, AAAA, BBBB —> ABABABA). I’m having trouble figuring out how to do this. To complicate matters, it is actually two nested lists (although they are of the same length). Any tips?
Yea, the only thing is I was hoping to keep the general structure of the list. This is the final solution I ended up with; it may have a little bit of redundancy but it works. Thanks for your help Vikram!
Avoid the ‘Flatten’ that I’ve introduced at the end and you maintain the structure.
For Dynamo 2.3:
DSCore.List.Flatten(DSCore.List.Transpose([a,b]));