View.GetFilters
Description:
Gets the filters applied to the view.
Gets the filters applied to the view.
Remarks:
Note that this method returns filters in a set sorted according to their ids. To get filters in the order they are applied to the view use GetOrderedFilters().
Note that this method returns filters in a set sorted according to their ids. To get filters in the order they are applied to the view use GetOrderedFilters().
public ICollection<ElementId> GetFilters()
ICollection<ElementId>
The ElementIds of the Filters.
-
The element "this View" does not belong to a project document. -or- The view type does not support Visibility/Graphics Overriddes.