I’m trying to rename both shared and non-shared project parameters using Dynamo but haven’t been successful so far. I’m relatively new to Dynamo, so I’m encountering some difficulties.
Remember: the parameter has an Id.
An uniqueId that is.
Every Element assosiated with that UniqueId first has to get rid of that. If i’m right
Best way is to recreate the parameter (basicly a new one)
Just use an underscore to differetiate
I found that removing the parameter in the Revit UI doesn’t get rid of the UniqueId, so after renaming in the shared parameter file, it just pops back with the original name.
Solution:
In the Revit UI use Select by Id, paste the UniqueId, then press Delete.
Now bring in the renamed parameter back in.
New Name, same UniqueId.
Tested in R2022
That is why i always wanted a Node SetParameterByUniqueId which also works when you have double parameter names.
Sorry, I don’t quite understand what you mean by UniqueID. Is this a parameter UniqueID? I can only find element IDs.
However, deleting and re-adding the parameter isn’t an option for me as I need to preserve the parameter values. I’m looking for a way to change the parameter name without affecting the associated data.
I’ve tried this in a project environment with a loadable generic family. It doesn’t work (might work with other nodes, but I’ll figure that out later). My current problem is the system family’s parameter.