Get subcategories of a family or select families by subcategories


#1

Hello community,

I was reading this post

But I still dont understand how I can get the subcategory/subcategories of a family typ or instance or select families by subcategories. I was trying out here but something doesnt work out.


Categories und Subcategorien_03.dyn (10.6 KB)
image
The family_Elem_Subcategory is a builtIn Parameter, so it should be possible

thanks in advance.


#2

Are you in the family environment or the project environment?

Note there is an API method for the project environment shown here:
https://forums.autodesk.com/t5/revit-api-forum/access-to-quot-subcategory-quot-parameter-of-a-family/td-p/6437816