Help with this script

Can anyone help me with this script im trying to change room names from a revit file. and im getting an error message all is good up until the Element.SetParameter node.

Hi @mcouillard4VXSY !
You have to feed the node with elements, not the values ! (no need of the Element.GetParameterValueByName node)

I am still receiving the same error

share a screenshot which shows the result of all nodes (open the bottom pop up) and the yellow pop up


The error I’m getting is this: Warning: No function called SetParameterByName on a Revit.Elements.Category that takes string,__array could be found

keep All Elements of Category and connect it directly to Element.SetParameterByName

thank you!