Combine 2 list together

I am a newbie with Dynamo and i am hitting a wall with 2 list that i would like to combine and merge (if this is making sense)
first i have this list (Level name) with 16 names and a second list (Numbers) with 4 sublist of 16 numbers.

what i am looking for is to get a list which contain the Level Name and the count of each 1 sublist at the same “level” than the Level name.
here an image to explain maybe better:

thank you in advance

Fred

Hello,

Take a look at a node called List.AddItemToFront

Thank you @Einar_Raknes and @Vikram_Subbaiah, that’s exactly what i was looking for!

1 Like

This no longer works with the latest versions of Dynamo, does anyone know how to do the same?

Certainly works - just check your list levels and lacing. If you can’t figure it out post a sample dyn (no need for a Revit file or such) so that we can guide you. :slight_smile:

Hello @manuel.lozanomASTWU and welcome to the forum , think Vikrams awesome solution still works just swap to […] instead. and btw this post is from 2016 !!!

wow what a quick response. I have done the same code again and I don’t get the same result, what I get is: 0 list (street leve, level1…level3) instead of 0 list → 0 street level 1 0 …etc. thanks for the help

Can you post an image of what you have tried, or your graph?

1 Like

Set the item input to @L1 and the list input to @L2 and see if that fixes it.

1 Like

thanks is true… thanks a lot!!!

1 Like