Hello,
I want just get all categories by Name and filtered by discipline (f.e. all architecture Categories).
How can i match this?
Call i a name or a title of category?
import sys
import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
clr.AddReference("RevitNodes")
import Revit
clr.AddReference('RevitServices')
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
cat = doc.Settings.Categories
Nam = []
for i in cat:
Nam.append(i.Category.Name)
OUT = Nam
Does not find category
KR
Andreas