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.
public class ScheduleFilter : IDisposable
| Name | Return Type | Description |
|---|---|---|
| ScheduleFilter() | None | Creates a new ScheduleFilter. |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType) | None | Creates a new ScheduleFilter. |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, Double) | None | Creates a new ScheduleFilter. |
| ScheduleFilter(ScheduleFieldId, ScheduleFilterType, ElementId) | 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 |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetDoubleValue() | The filter value. | Gets the filter value for a filter using a double value. |
| GetElementIdValue() | The filter value. | Gets the filter value for a filter using an ElementId value. |
| GetIntegerValue() | The filter value. | Gets the filter value for a filter using an integer value. |
| GetStringValue() | The filter value. | Gets the filter value for a filter using a string value. |
| 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. |
| Name | Return Type | Description |
|---|---|---|
| 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 | bool | Specifies whether the .NET object represents a valid Revit entity. |