ScheduleFilter
Description:
A filter in a schedule.
A filter in a schedule.
Remarks:
The ScheduleFilter class represents a single filter in a schedule. A filter is a condition that must be satisfied for an element to appear in the schedule. All filters must be satisfied for an element to appear in the schedule.
A schedule can be filtered by data that is not displayed in the schedule by marking the field used for filtering as hidden using the ScheduleField.IsHidden property.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ScheduleFilter
System.Object
Autodesk.Revit.DB.ScheduleFilter
public class ScheduleFilter : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ScheduleFilter() | None | Creates a new ScheduleFilter. | |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType) | None | Creates a new ScheduleFilter. | |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, ElementId) | None | Creates a new ScheduleFilter. | |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, Double) | None | Creates a new ScheduleFilter. | |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, Int32) | None | Creates a new ScheduleFilter. | |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, String) | None | Creates a new ScheduleFilter. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the ScheduleFilter | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetDoubleValue() | Double | Gets the filter value for a filter using a double value. | |
| GetElementIdValue() | ElementId | Gets the filter value for a filter using an ElementId value. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetIntegerValue() | Int32 | Gets the filter value for a filter using an integer value. | |
| GetStringValue() | String | Gets the filter value for a filter using a string value. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetNullValue() | None | Sets the filter to have no specified value (used for HasParameter filters). | |
| SetValue(Double) | None | Set the filter value to a double. | |
| SetValue(ElementId) | None | Set the filter value to an ElementId. | |
| SetValue(Int32) | None | Set the filter value to an integer. | |
| SetValue(String) | None | Set the filter value to a string. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FieldId | ScheduleFieldId | The ID of the field used to filter the schedule. | |
| FilterType | ScheduleFilterType | The filter type. | |
| IsDoubleValue | bool | Indicates if the filter has a double value. | |
| IsElementIdValue | bool | Indicates if the filter has an ElementId value. | |
| IsIntegerValue | bool | Indicates if the filter has an integer value. | |
| IsNullValue | bool | Indicates if the filter has no specified value. | |
| IsStringValue | bool | Indicates if the filter has a string value. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |