String.Replace works on Dynamo but not work on Revit

I made a simple string to replace the symbol “-” in room number to “.” The nodes work in dynamo but didn’t change the symbol in Revit. Is there any node missing? :sweat_smile:

Use then “SetParameter by Name and Value” connect final values to node.

2 Likes

No luck for me. I tried to use the node on a Revit testing model that only has one room. It didn’t change room’s Name parameter.

Hi @Joe_Lee1 , the problem is that the string is being replaced but not being written to the parameter… after replacing the string, do as @Deniz_Maral said, use the SetParameter to assign those replaced strings and write the parameters

1 Like

Thanks it works on the second trial.

1 Like