RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View

View.GetElementOverrides

Method
Description:
Gets graphic overrides for an element in the view.
Syntax
Parameters
Parameter Type Description
elementId ElementId The element.
Return Value
Type Description
OverrideGraphicSettings An object representing all graphic overrides of the element elementId in view.
Exceptions
Exception Condition
ArgumentException elementId is not a valid Element identifier.
ArgumentNullException A non-optional argument was null
InvalidOperationException The element "this View" does not belong to a project document. -or- The view type does not support Visibility/Graphics Overriddes.