Is there a way to populate Dict1 with data from Dict2, using common keys, while leaving the rest of the Dict1 as is? See below:
I am trying to manage data of inconsistent, and changing length, process it and then push it back to Revit as values. I have managed to collect the data, now I would like to normalize it to the same size, leaving zeros if the object does not exist on given level. Example from the picture above: I would like number from Dict2 (in red) to be pushed to Dict1 under the correct dictionary, leaving the other value (L) for the same record unchanged. Dict1 consists of 4 layers and that will remain constant, the amount of items on each level may vary.