Converting an array to var would case array rank reduction

I’m trying to combine two lists and in some cases I get a result and in some of them I get an ‘null’ value.
The warning message is: Converting an array to var would cause array rank reduction and is not permitted.

When I remove the node ‘Spring.Number.ToString’ the warning message dissappears but then the result is not what I want.
I need a combination of those two lists without decimals.

Hi Kulkul, it’s still not working for me!
I’m going to attach the revit and dynamo file!
I’m working on Revit 2016 and Dynamo 1.1.0IB_combineer keynote en dikte_opgekuist voor forum.dyn (8.1 KB)
IB_combineer keynote en dikte_opgekuist voor forum.rvt (1.4 MB)

Try this dyn script IB_combineer keynote en dikte_opgekuist voor forum.dyn (9.4 KB)

I fixed it for you.

1 Like