Hello, I tried to find BuiltInCategory parameter of an element in my Revit project, but couldn't find it in the latest version of Lookup. Could you please bring it back as it was in previous versions (e.g. 2019.0012)? It would help a lot in writing plugins and understanding the code.
I'll show you how it was:
var annotations = new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_TitleBlocks).WherePasses(viewFilter).ToList();
And as it is now:
var annotations = new FilteredElementCollector(doc).Where(elem => elem.Category.Id.ToInt64() == -2000280).WherePasses(viewFilter).ToList();
Hello, I tried to find BuiltInCategory parameter of an element in my Revit project, but couldn't find it in the latest version of Lookup. Could you please bring it back as it was in previous versions (e.g. 2019.0012)? It would help a lot in writing plugins and understanding the code. I'll show you how it was: var annotations = new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_TitleBlocks).WherePasses(viewFilter).ToList(); And as it is now: var annotations = new FilteredElementCollector(doc).Where(elem => elem.Category.Id.ToInt64() == -2000280).WherePasses(viewFilter).ToList();