Element.SetParameterById?

Is there a way to direct dynamo to use the parameter id to set the parameter instead of the parameter name, as the Element.SetParameterByName node does? I know that you can get a name from the parameter id, but as there are duplicate numbers of the same name I need to make sure the values get written to the correct parameter (this is part of a script to get rid of the duplicates, but I need to preserve the values first.) I suspect I’ll have to add some list.map nodes to get it to work, but I need to solve how to write to a specific parameter id first.

1 Like