2025.3 Method
Changes 0
M

FilteredElementCollector.GetElementIterator

Description:
Returns an element iterator to the elements passing the filters.
Remarks:
Calling this when you have an active iterator to this same collector will result in the first iterator being stopped by this call.
public FilteredElementIterator GetElementIterator()
FilteredElementIterator FilteredElementIterator
  • The collector does not have a filter applied. Extraction or iteration of elements is not permitted without a filter.