2024 Members
Changes 8
M

FilteredElementCollector

Name Return Type Description Inherited From
M ContainedInDesignOption(ElementId) FilteredElementCollector Applies an ElementDesignOptionFilter to the collector.
M Dispose() None Releases all resources used by the FilteredElementCollector
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M Excluding(ICollection<ElementId>) FilteredElementCollector Applies an ExclusionFilter to the collector.
M FirstElement() The first element. Returns the first element to pass the filter(s).
M FirstElementId() ElementId Returns the id of the first element to pass the filter(s).
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetElementCount() int Gets the number of elements in your current filter.
M GetElementIdIterator() FilteredElementIdIterator Returns an element id iterator to the elements passing the filters.
M GetElementIterator() FilteredElementIterator Returns an element iterator to the elements passing the filters.
M GetEnumerator() IEnumerator<Element> Returns an enumerator that iterates through a collection.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M IntersectWith(FilteredElementCollector) FilteredElementCollector Intersects the set of elements passing the filter in this collector with the set of elements passing the filter in another collector.
M IsViewValidForElementIteration(Document, ElementId) bool Identifies if the particular element is valid for iteration of drawn elements.
M OfCategory(BuiltInCategory) This collector. Applies an ElementCategoryFilter to the collector.
M OfCategoryId(ElementId) FilteredElementCollector Applies an ElementCategoryFilter to the collector.
M OfClass(Type) FilteredElementCollector Applies an ElementClassFilter to the collector.
M OwnedByView(ElementId) FilteredElementCollector Applies an ElementOwnerViewFilter to the collector.
M ToElementIds() ICollection<ElementId> Returns the complete set of element ids that pass the filter(s).
M ToElements() IList<Element> Returns the complete set of elements that pass the filter(s).
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object .
M UnionWith(FilteredElementCollector) FilteredElementCollector Unites the set of elements passing the filter in this collector with the set of elements passing the filter in another collector.
M WhereElementIsCurveDriven() FilteredElementCollector Applies an ElementIsCurveDrivenFilter to the collector.
M WhereElementIsElementType() FilteredElementCollector Applies an ElementIsElementTypeFilter to the collector.
M WhereElementIsNotElementType() FilteredElementCollector Applies an inverted ElementIsElementTypeFilter to the collector.
M WhereElementIsViewIndependent() FilteredElementCollector Applies an ElementOwnerViewFilter to the collector.
M WherePasses(ElementFilter) FilteredElementCollector Applies an element filter to the collector.
Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.