I’ve done some digging but haven’t found anything yet to convert a family parameter into a specific shared parameter.
Revit Parameter Organizer (http://netspiderstudio.com/help/RPO/index.html) 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 – https://spiderinnet.typepad.com/blog/2011/06/parameter-of-revit-api-51-parameter-converter-familyparameter-to-sharedparameter.html – 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?