Is there a node (or a way to code) a version of Element.GetParameterValueByName that accepts parameter id’s instead?
Situation: We have projects that have duplicating project parameters, and have for many versions. We haven’t been able to root out the cause of the duplication’s, so in the interim we want to delete the extra parameters. I have a working version of the script, but am rewriting it to handle fringe cases. I need the value of each copy of the project parameter. I can’t use Element.GetParameterValueByName because it returns only the first one, and I have no control over which parameter.id is being retrieved. While I’ve found a work around it is clunky (run Element.Parameters on the elements, extract the Parameter.Id, filter that list by the parameters I need, and then retrieve the nodes).