View.SetElementOverrides
Description:
Sets graphic overrides for an element in the view.
Sets graphic overrides for an element in the view.
public void SetElementOverrides(
ElementId elementId,
OverrideGraphicSettings overrideGraphicSettings
)
-
elementIdElement to override.
-
overrideGraphicSettingsAn object representing all graphic overrides of the element in view.
-
elementId is not a valid Element identifier. -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.