FilteredElementCollector.GetElementCount
Description:
Gets the number of elements in your current filter.
Gets the number of elements in your current filter.
Remarks:
Does not require a filter, if called on a new FilteredElementCollector it will return a count of all the elements.
Does not require a filter, if called on a new FilteredElementCollector it will return a count of all the elements.
public int GetElementCount()
Int32
The number of elements