Getting a list of Categories and Sub-categories for Model Categories

Does anybody know how to get a list of Categories and Sub-categories and values from Object Styles in Revit?

I am trying to document all of the values for each category and sub-category in revit and am very new to dyanmo. Any help is appreciated

Thanks

Subcategories are a property of the Category.
https://www.revitapidocs.com/2020/e2f50049-832c-9b72-70b1-2a0a96e16a60.htm

Hi @ebanuelos17341,

Try with the Get SubCategories Properties node in Genius Loci package.