RVTDocs.com

FilteredElementCollector(Document, ICollection<ElementId>)

Constructor
Description:
Constructs a new FilteredElementCollector that will search and filter a specified set of elements.
Syntax
public FilteredElementCollector(
	Document document,
	ICollection<ElementId> elementIds
)
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