2026 Method
Changes 0
M

View.SetFilterOverrides

Description:
Sets the overrides associated with a filter.
Remarks:
If the filter is not currently applied to the view, this will add the filter with the assigned overrides.
public void SetFilterOverrides(
	ElementId filterElementId,
	OverrideGraphicSettings overrideGraphicSettings
)
  • ElementId is not associated with a FilterElement. -or- Fill pattern must be a drafting pattern. -or- Fill pattern Id must be invalidElementId or point to a LinePattern element.
  • A non-optional argument was null
  • The element "this View" does not belong to a project document. -or- The view type does not support Visibility/Graphics Overriddes.