List Join with Code Block

Hello dear professionals,
Please advise, is it possible to to get the same result with code blocks as the node List.Join gives ?

Given data:
a = [0,1,2]
b = [7,8,9,10]

I need to get like this with a Code Block syntax: [0,1,2,7,8,9,10]

the code block can produce the list create node: [a, b] = [ [0,1,2], [7,8,9,10] ] but I need the List.Join result.

Thanks in advance

Try this (on my phone so there may be a typo or two - watch your auto complete closely as you go): DSCore.List.Join([list1,list2]);

3 Likes

Hello,
another solution

2 Likes

Thanks for your reply.
I believe, if you can not go with basic dynamo functionality, its better to go directly to Python