Hi All,
Trying to change the Diameter of the pipes using Element.SetParameterByName
Tried unit conversion, still I’m getting error. Can someone help me to figure out what the the problem is…?
Thanks in advance…

That Worked…!!! Thank you 
No problem, @salvatoredragotta had the same solution first. Make sure you mark the post as solved by choosing a response as the solution.
Yea, I had… I changed them to integer…!! Thank you 