Rename project parameters still not possible with Dynamo?

Hi everyone,

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.

I found this post from 2020:Renaming project parameters

and was hoping there might be newer solutions or workarounds since then.

Has anyone successfully renamed project parameters in Dynamo? Any tips or advice would be greatly appreciated.

Thanks in advance,

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 haven’t tried in a few years, but you could attempt it in 2025 as I demonstrated in the thread you linked to confirm.

Try shared parameters too
Is there a difference?

Project Parameters are not able to be created via the API.

2 Likes

Ok for Project parameters good or bad
How bout Shared, Family?
any difference there?

You would have to rename the parameter in the shared parameter file, remove from Revit, and re-add it.

1 Like

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.

1 Like

Thank you for your input.

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.

1 Like

Correct

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.

Where I can find this? I only can get element ID…

What i explained goes for shared parameters only.
The UniqueId of the parameter is in the shared parameter file

Here is one of my sources in my research regarding this subject.
could be outdated