Rename a shared parameter in family to match the family type name

You can select an item(s) in the browser. Just highlight it in the browser and it is the current selection. (Assuming you haven’t selected anything else in the drawing area.) But Dyanmo doesn’t have a default node for this. Maybe there is a custom node for this. But it is easy with Python.

Current Selection:
Getting the current selection in Revit? - Dynamo (dynamobim.com)

This should give you everything you need from a selected object(s) on the screen.

If you are making families with this information pre-set - then a Type Catalog is your first and best option for enforcing this naming system It is per family and simple to set up - no programing. (You have a type catalog? Yes?) Just basic Revit.

You can easily filter out just those families you want to automate. No shared parameter - kick them off the list of all elements of category. You could filter by name with a dictionary of names. Plenty of other ways to filter as needed. So don’t rule out a more broad based approach to automation. If you are going to do it one at a time - might as well stick to copy/paste.

1 Like