Set family to a shared family

Thank you very much @sovitek ik for taking the time to respond. You are of great help to me. Finally, what I want to do in Dynamo is not possible… because families cannot be shared. :frowning: I’ll try to be brief and explain my goal, perhaps this way you can help me find another solution.
In my project, there are curtain walls with mullions and system panels that I replaced with parametric curtain wall panel families.


These curtain wall panel families have nested shared families from different categories (security devices, generic models, and doors)

The issue is that when I switch the project to a visualization platform, my project displays the shared nested families as dissociated elements.

I need to find a way so that when selecting the curtain wall panel family, all nested elements are selected as well.

“That’s why I thought about converting the nested families into non-shared ones. Since that’s not possible, I’m now considering the following possibility: Can we select all elements from the curtain wall panel categories and its nested families in order to merge them into a new family that will replace the old one?”

***PS :is Not a problem if the new family changes category. For example, the new family can be a window category.