FilteredElementIterator
Description:
An iterator to a set of elements filtered by the settings of a FilteredElementCollector.
An iterator to a set of elements filtered by the settings of a FilteredElementCollector.
public class FilteredElementIterator : IEnumerator<Element>
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetCurrent() | The element. | The current element found by the iterator. |
| IsDone() | bool | Identifies if the iteration has completed. |
| MoveNext() | bool | Increments the iterator to the next element passing the filter. |
| Reset() | None | Resets the iterator to the beginning. |
| Name | Return Type | Description |
|---|---|---|
| CurrentObject | Object | |
| Current | Element | Gets the item at the current position of the iterator. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |