List.join not working


#1

Hello, I have two lists with 3 sublists each. I want to join each sublist from either list together with the same index number. How do I do that? This is just joining the child lists together??


#2

I think what you are looking for is list.combine with either list.create or list.join
Home.dyn (6.6 KB)


#3

Would this work? In order for this to work, though, the 3 input lists must all be made into a list of list first (using the List.Create node as shown) so transpose can work correctly.

Works with 2 lists with 3 sublists each as well:


#4

Thanks, both of your solutions work great. I wish I could put both of you as the solution!


#5

@erfajo
I downloaded your latest package, and it appears that your list.clean node that you have, doesnt work anymore, and the new one doesnt work either. So how do I get rid of all the -1’s then? Thanks,


#6

@mix

Sorry for your inconvenience, but I updated my package late last night where I included a zerotouch node (published hidden) so it could be tested by some selected users… in that work, I have made an error on the core node that read the python scripts.

Could you please install the 2018.301.0 version. When I have figured how I can run both beside each other with troubles will I update my package and notice you/the forum.


#7

The problem should hopefully be fixed now… please upload to 2018.301.2