I don’t think you can get the used Categories without checking elements, but you can certainly get all project Categories. Take a look at this thread and see if it gets you started.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Get All Elements of Category at Documents list with Python | 6 | 2577 | March 22, 2022 | |
| Get all BuiltInCategory - ERROR | 5 | 165 | February 21, 2024 | |
|
List of categories of revit
|
12 | 183 | November 14, 2024 | |
| Collect all categories in a project | 54 | 35422 | February 3, 2022 | |
|
List of used Categories
|
6 | 129 | October 3, 2024 |