FilteredElementCollector.OfCategory
Description:
Applies an ElementCategoryFilter to the collector.
Applies an ElementCategoryFilter to the collector.
Remarks:
Only elements of this category id will pass the collector.
Only elements of this category id will pass the collector.
public FilteredElementCollector OfCategory(
BuiltInCategory category
)
-
categoryThe category.