Error when set null value to elements

I use Elements.setParametersbyname to set values to elements in revit. If all the values are not null, it’s fine.
But when there is some null values, it will show error.

you could use a filter node before the elements.setparametersbyname node to filter away all the null before having the element input.

3 Likes