Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Renaming Project and shared parameters in Project and Family

6 ANTWORTEN 6
GELÖST
Antworten
Nachricht 1 von 7
laura.johanssonPN37Y
636 Aufrufe, 6 Antworten

Renaming Project and shared parameters in Project and Family

Hi all, 

I have a project and lots of families with shared parameters that are all over the place. From double ups, to some being misspelled. Some are in capitals, others from the same category are in lower case, it's a mess. I am now working on the door schedule and want to clean these shared parameters up a bit. I have a lot of parameters in the door families that are manual input in Revit and I want to make them all capitalized, while information that Revit schedule is pulling straight from the family is in lower case. 

I have looked at renaming the parameters in the shared parameter file, and while this works in the families, in the project they have their old name. As far as I understood, Revit will not rename project parameters or shared parameters in the project even if the text file says so, correct me if I am wrong. 

Is there a clever way around this, or should I just accept the inconsistency and move on?

6 ANTWORTEN 6
Nachricht 3 von 7
laura.johanssonPN37Y
als Antwort auf: Corsten.Au

Hi, 

I have already checked out both DiRoots plug in and the thread and basically it says that Project Parameters cannot be changed (they're even greyed out in the plug in). 

From the thread:
"Unfortunately renaming an existing shared parameter is not possible. This comes from the SDK documentation when the RenameParameter method is used : " This operation is valid only for Family Parameters, and is invalid for Shared Parameters and Built-in Parameters.""

Nachricht 4 von 7
Simon_Weel
als Antwort auf: laura.johanssonPN37Y

The Shared Parameters file is only used once - when adding the parameter to a Family or Project. So if a Shared Parameter is already in a project / Family, there's no way to rename it.

Nachricht 5 von 7
laura.johanssonPN37Y
als Antwort auf: Simon_Weel

@simon_Wheel Even if I go into the shared parameter file and rename it there?

I tried this already and it didn't seem to work, but maybe I forgot some sneaky step...?
Nachricht 6 von 7
L.Maas
als Antwort auf: laura.johanssonPN37Y

Revit reads from the shared project parameter file. However they are not linked. So if you change the Revit parameter file it has no direct impact on your families or your projects.
I would strongly recommend not to change the parameter file. The parameter name is connected to a GUID code. If you change the name the GUID code remains the same. When you start to use these renamed parameters and still have leftovers from the original parameter you might get very strange results.

I would recommend to create a new parameter file with new parameters and start to replace the parameter in your project/families

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 7 von 7
laura.johanssonPN37Y
als Antwort auf: L.Maas

@L.Maas I was worried this was the case, but I was hoping that I was wrong or that there was a clever way around it, there really should be. Oh well, thanks anyways. :leicht_lächelndes_Gesicht:

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report