Hi guys!
So, i’m trying to combine 2 lists in Dynamo, where 1 of the lists have priority over the other.
List 1: This list is full of values and I want these to be written to the new list except the ones covered in list 2.
List 2. This is a list that contains a few values, in a few places. These values have priority over List 1 values.
As you can see from my test, Only list 2 is written.
I tried fixing it with this code, but I get code error:
a;
b;
d = [Imperative] {
for (i in ind)
{
if (b[i] != null)
return d[i] = b[i];
} else {
return d[i] = a[i];
}
}
};
Any suggestions?
Thanks,
Freddy