List of categories of revit

Give the following code a try, it should give you a initial bit of info


#Created By Brendan Cassidy

import clr

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application
uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument

categoryList = doc.Settings.Categories

OUT=[]
for cat in categoryList:
	if cat.AllowsBoundParameters and not cat.IsTagCategory and cat.CategoryType == CategoryType.Model:
		OUT.append([cat.Name,cat])
        
OUT.sort()
1 Like