We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a5918 commit cb87f3cCopy full SHA for cb87f3c
1 file changed
sources/RevitDBExplorer/Domain/RevitDatabaseQuery/Parser/Commands/CategoryCmdDefinition.cs
@@ -23,7 +23,14 @@ public void Init(Document document)
23
24
foreach (Category category in categories)
25
{
26
+#if R2023_MIN
27
var builtInCategory = category.BuiltInCategory;
28
+#endif
29
+#if R2022_MAX
30
+ var builtInCategory = (BuiltInCategory)category.Id.IntegerValue;
31
32
+
33
+ if (builtInCategory == BuiltInCategory.INVALID) continue;
34
35
var label = LabelUtils.GetLabelFor(builtInCategory);
36
0 commit comments