Parameter Not Found _!

Hi, There is small error with the script. I try to set parameter value to six parameters, but it is for some reason, is giving error for the one parameter. Any suggestions?

Note that all parameters exists in the Revit file, I am fetching the parameter names with a Python Script as shown in the screenshot.

could you add two watch nodes, one for the ‘element’ input and one for the 'parameter name input?

1 Like

image

Is that the parameter you’re looking for?

Have you checked it’s a string?

Have you checked that parameter is actually in your element?

What element(s) are you feeding in to the Element.Set.Parameter node?

Have you tried C+P the name directly from Revit into a text node and feeding that into the Element.Set.Parameter node in Dynamo?

1 Like

Try telling ‘List.GetItemAtIndex’ 4 instead of 5.

It is possible that the node counts starting from 0 instead of 1.

1 Like

There was a duplicate, hidden parameter with same name and values. This was causing all the trouble!

1 Like

Thank you for your reply. I did not know about Revit saving parameters from families which were deleted. Some older Revit family had same parameter ‘Clash Location’ which was hidden and did not show up until I used the script below. Then deleted it. Deleting the hidden duplicate parameter made the main script run normal.