Share

ElementSlowFilter Class

A base class for a type of filter that operates on expanded elements.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.ElementFilter
    Autodesk.Revit.DB.ElementSlowFilter
      More

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public class ElementSlowFilter : ElementFilter

The ElementSlowFilter type exposes the following members.

Properties

 NameDescription
Public propertyInverted True if the results of the filter are inverted; elements that would normally be accepted by this filter will be rejected, and elements that would normally be rejected will be accepted.
(Inherited from ElementFilter)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ElementFilter)

Methods

 NameDescription
Public methodDispose
(Inherited from ElementFilter)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPassesFilter(Element) Applies the filter to a given element.
(Inherited from ElementFilter)
Public methodPassesFilter(Document, ElementId) Applies the filter to a given element.
(Inherited from ElementFilter)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

Slow filters require that the Element be obtained and expanded in memory first. Thus it is preferable to couple slow filters with at least one ElementQuickFilter, which should minimize the number of Elements that are expanded in order to evaluate against the criteria set by this filter.

See Also

Reference

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.ElementFilter
    Autodesk.Revit.DB.ElementSlowFilter
      Autodesk.Revit.DB.Architecture.RoomFilter
      Autodesk.Revit.DB.Architecture.RoomTagFilter
      Autodesk.Revit.DB.AreaFilter
      Autodesk.Revit.DB.AreaTagFilter
      Autodesk.Revit.DB.CurveElementFilter
      Autodesk.Revit.DB.ElementIntersectsFilter
      Autodesk.Revit.DB.ElementLevelFilter
      Autodesk.Revit.DB.ElementParameterFilter
      Autodesk.Revit.DB.ElementPhaseStatusFilter
      Autodesk.Revit.DB.FamilyInstanceFilter
      Autodesk.Revit.DB.Mechanical.SpaceFilter
      Autodesk.Revit.DB.Mechanical.SpaceTagFilter
      Autodesk.Revit.DB.PrimaryDesignOptionMemberFilter
      Autodesk.Revit.DB.Structure.FamilyStructuralMaterialTypeFilter
      Autodesk.Revit.DB.Structure.StructuralInstanceUsageFilter
      Autodesk.Revit.DB.Structure.StructuralMaterialTypeFilter
      Autodesk.Revit.DB.Structure.StructuralWallUsageFilter
      Autodesk.Revit.UI.Selection.SelectableInViewFilter

Was this information helpful?