M

FilteredElementCollector.OfCategory

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