2024 Class
Changes 0
C

ElementPhaseStatusFilter

Description:
A filter used to match elements that have a given phase status on a given phase.
Remarks:
This filter is a slow filter. Slow filters require that the Element be obtained and expanded in memory first. Thus it is preferable to couple this filter with at least one ElementQuickFilter, which should minimize the number of Elements that are expanded.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ElementFilter
    Autodesk.Revit.DB.ElementSlowFilter
      Autodesk.Revit.DB.ElementPhaseStatusFilter
Name Return Type Description Inherited From
C ElementPhaseStatusFilter(ElementId, ElementOnPhaseStatus) None Constructs a new instance of a file to match elements that have a given phase status on the input phase.
C ElementPhaseStatusFilter(ElementId, ElementOnPhaseStatus, Boolean) None Constructs a new instance of a file to match elements that have a given phase status on the input phase, with the option to match all elements that have a phase status other than the input status.
C ElementPhaseStatusFilter(ElementId, ICollection<ElementOnPhaseStatus>) None Constructs a new instance of a file to match elements that have a given phase statuses on the input phase.
C ElementPhaseStatusFilter(ElementId, ICollection<ElementOnPhaseStatus>, Boolean) None Constructs a new instance of a file to match elements that have a given phase statuses on the input phase, with the option to match all elements that have a phase status other than the input statuses.
Name Return Type Description Inherited From
M GetPhaseStatuses() The phase statuses. Returns the phase statuses assigned to this filter.
M Dispose() None Releases all resources used by the ElementFilter
M PassesFilter(Document, ElementId) bool Applies the filter to a given element. ElementFilter
M PassesFilter(Element) bool Applies the filter to a given element. ElementFilter
Name Return Type Description Inherited From
P PhaseId ElementId The phase id.
P Inverted bool 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. ElementFilter
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. ElementFilter