Sep 1, 2022
How to Get All Categories in Revit API?
This is not complicated by any means. In fact it's just a single line to get all of them, and then we can filter down to any category with list comprehensions. Check my examples with Revit API + python.
Let's get Categories!
Now we have all categories sorted in different lists. Let's go trough them and print the results.
How do we use categories?
There are many applications to categories. Since you found this article through google, I assume you already have an idea in mind, how you would want to use these categories.
But I will leave here a simple example how to hide certain categories from a View.