I need a code that when I click on my Revit add-in button returns me the family of the model element that is selected. Anyone can help with this?
I did some research in Autodesk University and I couldn't find something easy to understand that make something near of this