Getting the family name of a curtain panel type?

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)

Hello @ssw9UZNL

you can use the FamilyName property of ElementType Class
https://www.revitapidocs.com/2020/10de5c66-1b4b-9214-4036-27a6b24e5703.htm

1 Like