Skip to content

OverrideGraphicSettings

Public 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.


Properties

Name

Description


Public Property

The override color of the background pattern of cut faces.


Public Property

The ElementId of the cut face background fill pattern override. A value of InvalidElementId means no override is set.


Public Property

The override color of the foreground pattern of cut faces.


Public Property

The ElementId of the cut face foreground fill pattern override. A value of InvalidElementId means no override is set.


Public Property

Cut surface line color.


Public Property

ElementId of the cut surface line pattern.


Public Property

Cut surface line weight.


Public Property

The detail level.


Public Property

Value of the halftone override.


Public Property
Static Member

The invalidPenNumber for clearing line weight overrides.


Public Property

The visibility of the cut face background fill pattern.


Public Property

The visibility of the cut face foreground fill pattern.


Public Property

The visibility of the surface background fill pattern.


Public Property

The visibility of the surface foreground fill pattern.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

Projection surface line color.


Public Property

Id of the projection surface line pattern.


Public Property

The projection surface line weight.


Public Property

The override color of the surface background pattern.


Public Property

The ElementId of the surface background fill pattern override. A value of InvalidElementId means no override is set.


Public Property

The override color of the surface foreground pattern.


Public Property

The ElementId of the surface foreground fill pattern override. A value of InvalidElementId means no override is set.


Public Property

Transparency of surfaces.


Methods

Name

Description


Public Method

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

Sets the override color of the background pattern of cut faces.


Public Method

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

Sets the visibility of the cut face background fill pattern.


Public Method

Sets the override color of the foreground pattern of cut faces.


Public Method

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

Sets the visibility of the cut face foreground fill pattern.


Public Method

Sets the cut surface line color.


Public Method

Sets the ElementId of the cut surface line pattern.


Public Method

Sets the cut surface line weight.


Public Method

Sets the detail level.


Public Method

Sets the halftone value.


Public Method

Sets the projection surface line color.


Public Method

Sets the ElementId of the projection surface line pattern.


Public Method

Sets the projection surface line weight.


Public Method

Sets the override color of the surface background pattern.


Public Method

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

Sets the visibility of the surface background fill pattern.


Public Method

Sets the override color of the surface foreground pattern.


Public Method

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

Sets the visibility of the surface foreground fill pattern.


Public Method

Sets the projection surface transparency.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)