OverrideGraphicSettings Class


Override Graphic Settings Class

Settings to override display of elements in a view.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB OverrideGraphicSettings

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class OverrideGraphicSettings : IDisposable

The OverrideGraphicSettings type exposes the following members.

Constructors
Name Description
Public method OverrideGraphicSettings Creates a new instance of an OverrideGraphicSettings object.
Public method OverrideGraphicSettings(OverrideGraphicSettings) Creates a new instance of an OverrideGraphicSettings object based on an existing OverrideGraphicSettings object.
Top
Properties
Name Description
Public property CutBackgroundPatternColor The override color of the background pattern of cut faces.
Public property CutBackgroundPatternId The ElementId of the cut face background fill pattern override. A value of InvalidElementId means no override is set.
Public property CutForegroundPatternColor The override color of the foreground pattern of cut faces.
Public property CutForegroundPatternId The ElementId of the cut face foreground fill pattern override. A value of InvalidElementId means no override is set.
Public property CutLineColor Cut surface line color.
Public property CutLinePatternId ElementId of the cut surface line pattern.
Public property CutLineWeight Cut surface line weight.
Public property DetailLevel The detail level.
Public property Halftone Value of the halftone override.
Public property Static member InvalidPenNumber The invalidPenNumber for clearing line weight overrides.
Public property IsCutBackgroundPatternVisible The visibility of the cut face background fill pattern.
Public property IsCutForegroundPatternVisible The visibility of the cut face foreground fill pattern.
Public property IsSurfaceBackgroundPatternVisible The visibility of the surface background fill pattern.
Public property IsSurfaceForegroundPatternVisible The visibility of the surface foreground fill pattern.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property ProjectionLineColor Projection surface line color.
Public property ProjectionLinePatternId Id of the projection surface line pattern.
Public property ProjectionLineWeight The projection surface line weight.
Public property SurfaceBackgroundPatternColor The override color of the surface background pattern.
Public property SurfaceBackgroundPatternId The ElementId of the surface background fill pattern override. A value of InvalidElementId means no override is set.
Public property SurfaceForegroundPatternColor The override color of the surface foreground pattern.
Public property SurfaceForegroundPatternId The ElementId of the surface foreground fill pattern override. A value of InvalidElementId means no override is set.
Public property Transparency Transparency of surfaces.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the OverrideGraphicSettings
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetCutBackgroundPatternColor Sets the override color of the background pattern of cut faces.
Public method SetCutBackgroundPatternId Sets the ElementId of the cut face background pattern override. The fill pattern must be a drafting pattern. A value of InvalidElementId means no override is set.
Public method SetCutBackgroundPatternVisible Sets the visibility of the cut face background fill pattern.
Public method SetCutForegroundPatternColor Sets the override color of the foreground pattern of cut faces.
Public method SetCutForegroundPatternId Sets the ElementId of the cut face foreground pattern override. The fill pattern must be a drafting pattern. A value of InvalidElementId means no override is set.
Public method SetCutForegroundPatternVisible Sets the visibility of the cut face foreground fill pattern.
Public method SetCutLineColor Sets the cut surface line color.
Public method SetCutLinePatternId Sets the ElementId of the cut surface line pattern.
Public method SetCutLineWeight Sets the cut surface line weight.
Public method SetDetailLevel Sets the detail level.
Public method SetHalftone Sets the halftone value.
Public method SetProjectionLineColor Sets the projection surface line color.
Public method SetProjectionLinePatternId Sets the ElementId of the projection surface line pattern.
Public method SetProjectionLineWeight Sets the projection surface line weight.
Public method SetSurfaceBackgroundPatternColor Sets the override color of the surface background pattern.
Public method SetSurfaceBackgroundPatternId Sets the ElementId of the surface background pattern override. The fill pattern must be a drafting pattern. A value of InvalidElementId means no override is set.
Public method SetSurfaceBackgroundPatternVisible Sets the visibility of the surface background fill pattern.
Public method SetSurfaceForegroundPatternColor Sets the override color of the surface foreground pattern.
Public method SetSurfaceForegroundPatternId Sets the ElementId of the surface foreground pattern override. The fill pattern must be a drafting pattern. A value of InvalidElementId means no override is set.
Public method SetSurfaceForegroundPatternVisible Sets the visibility of the surface foreground fill pattern.
Public method SetSurfaceTransparency Sets the projection surface transparency.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also