I am looking for a way to replace Shared Parameters! (and not there values)
For example… let’s say I created several families with some Shared Parameters and now I want to change the names of those parameters… I created new ones and I don’t want to have to change all the parameters manually.
What Peter outlined is the only viable approach. That is because once you add a shared parameter to a project or a family, it gets converted to a binding. From what I’ve tried, Revit’s api does not provide us with any tools to track the guid of the original shared parameter from that binding.
Yes. The Element.GetParameterValueByName and Element.SetParameterByName nodes allow for this behavior. Just make sure you are feeding in the right elements.