OverrideGraphicSettings
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.
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.
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)