I want to rename shared parameters in all the families and the project parameters assigned to it in a particular project. Is there any way to do that through Dynamo?
Also, I don’t have the shared parameter .txt file.
Hi @Yugal_Gupta yes its possible, try look into Crumple package
Thanks. But one issue I don’t have the existing Shared parameter file for the project, so all the parameters are kind of Exported one.
Hi @Yugal_Gupta …try a search here on the forum and i am sure you will get a lot of hits about that…good luck
Thanks @sovitek, the crumple script worked after I created the shared parameter file. Thanks
which node of Crumple package to rename SP in project file?
Hi @ning.zhouHNQLJ cant remember the name try take a look at @GavinNicholls videos or a simple seach here in the forum
thanks sovitek, i believe SP in family can be renamed via API but not in project, hope i’m wrong.
Shared parameters cannot be renamed with the same GUID under any circumstance - Revit will always think the parameter is the old name due to parameter bindings behind the scenes and you will get unintended behaviors/issues if you try any route to ‘trick’ Revit into thinking that the old GUID is the new name somehow.
You can replace shared parameters in families (the API route is old shared parameter > temporary family parameter > new shared parameter, there is no shared > shared method), but the GUID would change and you would need to reference a new parameter for the old parameter name to replace.
Project parameters cannot be replaced in the RevitAPI if you are trying to do that. There is no natural or easy way to achieve this, and I’m not aware of any Revit add-ins that have attempted it - it would be a monumental task to automate the steps involved in this process.
I have a script and lesson on replacing shared parameters in families in my free course here, Lesson 03-05-06:
yes as stated here as well…Renaming project parameters, so guees the only options , is what the genius loci node say as well in description…
