Is there any way to get a list of shared parameters in a family?
The only way that I've been able to find out which ones are shared is to actually get into the parameter editor.
A simple Dynamo script might help
Concept:
Louis
Please mention Revit version, especially when uploading Revit files.
I know next to nothing about Dynamo. You said "might" help. Were you able to isolate the shared parameters?
We are also looking for a way to automate changing these shared parameters to family parameters, so that we can add our own shared parameters. We have a tool that will select and delete them, but that is not desirable in most cases when it comes to manufacturer's content.
In the image posted by Louis, on the right edge, there are 2 windows labeled as "Watch". The small Watch window on the top shows the shared parameters (only 1) that the previous nodes isolated from the list. The other Watch window below shows the rest, the family parameters.
In addition, instead of deleting shared parameters that come included in families, consider exporting them from the family to your shared parameters file. If you just delete the shared parameters you will lose data or functionality in those families.
@Alfredo_Medina wrote:consider exporting them from the family to your shared parameters file.
I have no use for them unless that would give me an easy way to identify them so that they can be listed or change them from shared parameters to family parameters. If they do, please be kind enough to share that because I'm not really seeing any gain here.
@Alfredo_Medina wrote:If you just delete the shared parameters you will lose data or functionality in those families.
Yup, thanks, I already said that deleting them is undesirable. I only brought up that tool as something that is close, but doesn't address this type of thing.
@RobDraw wrote:
@Alfredo_Medina wrote:
consider exporting them from the family to your shared parameters file.
I have no use for them unless that would give me an easy way to identify them so that they can be listed or change them from shared parameters to family parameters. If they do, please be kind enough to share that because I'm not really seeing any gain here.
With that script above you could isolate the list of shared parameters, which was the original question. About changing parameters from shared to family, it can be done manually, parameter by parameter, changing shared to family without losing values. The only other method that I can think of is to enhance Louis' script to do the next steps of making new family parameters using the names of the shared parameters.
I see some difficulties here. I do not know an easy way to change a family parameter into a shared parameter (automatically).
What should be possible (with Dynamo) is to add shared parameters to the family. Then with DYnamo you could read the value from the existing family/shared parameter and insert it in the newly created shared parameter. In this case you need a clear relationship between the existing and newly created shared parameter. If this relationship is not there of changing very often then automation will not work because you would need many modifications to (re)create this relationship
It would also be possible to then delete the family parameter. However this could, of course, break the family.
I do not see a way to associate the shared parameter to the same object as the existing parameter.
Louis
Please mention Revit version, especially when uploading Revit files.
@L.Maas, either you didn't understand my question or you got confused when typing your reply. Regardless, I've already thought of trying to create new family parameters that would pickup the values/formulas that are assigned to the undesired parameters that are currently shared parameters. If if it is even possible, that might be more trouble than manually changing the shared parameters to family parameters one by one. If something like that could work, I've already got a tool to delete the shared ones after the new family ones have been created.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.