Take Category name from Loadable Families elements


#1

Hi to everybody,

I am trying to do some Dynamo scripts for Model Validation but I have some problems with loadable families. When I export errors from Dynamo to Excel I would like to export the category and the ID of the wrong elements, but Dynamo exports the Type of the element instead that the category. This method in the picture below works for System families (I can export Category name instead that Type name, after the List.FilterByBoolMask)
Anyone know how to export the Category?
Thanks in advance,
Riccardo


TEST_Category_Excel


#2

How about Element.GetCategory? It works for both?

Hope that helps,

Mark


#3

Thanks Mark, exactly what I wanted