2026 Method
Changes 0
M

FilteredElementCollector.GetElementIdIterator

Description:
Returns an element id 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 FilteredElementIdIterator GetElementIdIterator()
FilteredElementIdIterator FilteredElementIdIterator
  • The collector does not have a filter applied. Extraction or iteration of elements is not permitted without a filter.