FilteredElementCollector(Document, ICollection<ElementId>)
Constructor
Description:
Constructs a new FilteredElementCollector that will search and filter a specified set of elements.
Constructs a new FilteredElementCollector that will search and filter a specified set of elements.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document that owns the elements matching the element ids. |
elementIds | ICollection | The input set of element ids. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The input collection of ids was empty, or its contents were not valid for iteration. |
ArgumentNullException | A non-optional argument was null |