ElementCategoryFilter(BuiltInCategory, Boolean)
Description:
Constructs a new instance of a filter to match elements by category, with the option to match all elements which are not of the given category.
Constructs a new instance of a filter to match elements by category, with the option to match all elements which are not of the given category.
Overloads (4):
ElementCategoryFilter(BuiltInCategory,Boolean)
public ElementCategoryFilter(
BuiltInCategory category,
bool inverted
)
-
categoryThe category to match.
-
BooleaninvertedTrue if the filter should match all elements which are not of the given category.