Skip to content

Commit

Permalink
fix: revit 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Jan 10, 2025
1 parent 745886e commit 49ef7d1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ public static bool IsSupportedCategory(Category category)
category.CategoryType == CategoryType.Model
// || category.CategoryType == CategoryType.AnalyticalModel
)
#if REVIT_2023_OR_GREATER
&& category.BuiltInCategory != BuiltInCategory.OST_AreaSchemes
&& category.BuiltInCategory != BuiltInCategory.OST_AreaSchemeLines
#else
&& category.Name != "OST_AreaSchemeLines"
&& category.Name != "OST_AreaSchemes"
#endif
&& category.IsVisibleInUI;
}
}

0 comments on commit 49ef7d1

Please sign in to comment.