Set material parameter value <By Category>

Hi everyone,

I have a question about setting family parameter values by Dynamo. What I need is to set material parameter of a family to . According to the posts I read, you should simply use Null as a value (value, that is sent to input of “Element.SetParameterByName” node. Problem is, that when the original value is a Revit material from the project library, the Null value can not overwrite it.

Please, does anyone know a solution or workaround for this issue?

Many thanks!

You need to pass ElementId.InvalidElementId in python or -1 if just using regular nodes.

1 Like

Hi @acXBWH8 …not sure if this could help…