Convert Family Parameter to Existing Shared Parameter

I’ve done some digging but haven’t found anything yet to convert a family parameter into a specific shared parameter.

Revit Parameter Organizer ( will convert a family parameter into a new shared parameter that can be exported from the family into a shared parameter file but that’s not what I’m after.

I got this far using nodes from #orchid and it almost seems like it works except that the family parameters are still family parameters. The messy part in the middle is there because I couldn’t find a way to pull the parameter group in the family from the parameters. I think it’s possible with builtin nodes but I’d need an element to select first and the RFA is the element so… no I guess.

The code here – – is what I think RPO is using (or a variation of it). The answer might be in here but I’m having trouble reading it.

Thoughts? Am I barking up an impossible tree?

1 Like


If I can’t figure this out it’s. So. Much. Work.

i think you can use this ReplaceParameter Method to convert your family parameter into existing sharedparameter. The trick is to load your sharedparameter file into the document first and get its external definition. Then using definition name to match your family parameter name and hence using that method. I believe it is doable.

But i think for your application, it is best to write your own python script

That does look promising! Thanks.

Now for the hard part…

Did you ever figure this out? I’m not that great at writing stuff in Python yet and am having trouble.

sadly, no – and i was just looking into it again the other day!

I cracked this one a while back, and added custom nodes to Crumple to help with it also.

In this tutorial I use them to replace shared parameters with family parameters in a family, then swap those to shared parameters. It’s the second half you’ll be intrerested in I guess!


Interesting to me that this thread has a “solution” but doesn’t appear resolved. That’s usually a sure fire way to not get additional help.

Hopefully @GavinCrump video will put you on the home stretch!

1 Like

The solution was marked on Gavin’s post… don’t know by who but since it does solve the initial question I think it’s A-OKAY!

1 Like