Hi,
I am doing something wrong but I do not know what.
I simply want to get the family name of a curtain panel type. I can get the type name but how do I get the family name.
I have collected all of the types and loop over them.
CategoryFilter = DB.FilteredElementCollector(doc).OfCategory(DB.BuiltInCategory.OST_CurtainWallPanels).WhereElementIsElementType().ToElements()
for i in CategoryFilter:
test = DB.Element.Name.GetValue(i)