OverrideGraphicSettings
Description:
Settings to override display of elements in a view.
Settings to override display of elements in a view.
public class OverrideGraphicSettings : IDisposable
| Name | Return Type | Description |
|---|---|---|
| OverrideGraphicSettings() | None | Creates a new instance of an OverrideGraphicSettings object. |
| OverrideGraphicSettings(OverrideGraphicSettings) | None | Creates a new instance of an OverrideGraphicSettings object based on an existing OverrideGraphicSettings object. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| SetCutBackgroundPatternColor(Color) | OverrideGraphicSettings | Sets the override color of the background pattern of cut faces. |
| SetCutBackgroundPatternId(ElementId) | OverrideGraphicSettings | 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. |
| SetCutBackgroundPatternVisible(Boolean) | OverrideGraphicSettings | Sets the visibility of the cut face background fill pattern. |
| SetCutForegroundPatternColor(Color) | OverrideGraphicSettings | Sets the override color of the foreground pattern of cut faces. |
| SetCutForegroundPatternId(ElementId) | OverrideGraphicSettings | 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. |
| SetCutForegroundPatternVisible(Boolean) | OverrideGraphicSettings | Sets the visibility of the cut face foreground fill pattern. |
| SetCutLineColor(Color) | OverrideGraphicSettings | Sets the cut surface line color. |
| SetCutLinePatternId(ElementId) | OverrideGraphicSettings | Sets the ElementId of the cut surface line pattern. |
| SetCutLineWeight(Int32) | OverrideGraphicSettings | Sets the cut surface line weight. |
| SetDetailLevel(ViewDetailLevel) | OverrideGraphicSettings | Sets the detail level. |
| SetHalftone(Boolean) | OverrideGraphicSettings | Sets the halftone value. |
| SetProjectionLineColor(Color) | OverrideGraphicSettings | Sets the projection surface line color. |
| SetProjectionLinePatternId(ElementId) | OverrideGraphicSettings | Sets the ElementId of the projection surface line pattern. |
| SetProjectionLineWeight(Int32) | OverrideGraphicSettings | Sets the projection surface line weight. |
| SetSurfaceBackgroundPatternColor(Color) | OverrideGraphicSettings | Sets the override color of the surface background pattern. |
| SetSurfaceBackgroundPatternId(ElementId) | OverrideGraphicSettings | 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. |
| SetSurfaceBackgroundPatternVisible(Boolean) | OverrideGraphicSettings | Sets the visibility of the surface background fill pattern. |
| SetSurfaceForegroundPatternColor(Color) | OverrideGraphicSettings | Sets the override color of the surface foreground pattern. |
| SetSurfaceForegroundPatternId(ElementId) | OverrideGraphicSettings | 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. |
| SetSurfaceForegroundPatternVisible(Boolean) | OverrideGraphicSettings | Sets the visibility of the surface foreground fill pattern. |
| SetSurfaceTransparency(Int32) | OverrideGraphicSettings | Sets the projection surface transparency. |
| Name | Return Type | Description |
|---|---|---|
| CutBackgroundPatternColor | Color | The override color of the background pattern of cut faces. |
| CutBackgroundPatternId | ElementId | The ElementId of the cut face background fill pattern override. A value of InvalidElementId means no override is set. |
| CutForegroundPatternColor | Color | The override color of the foreground pattern of cut faces. |
| CutForegroundPatternId | ElementId | The ElementId of the cut face foreground fill pattern override. A value of InvalidElementId means no override is set. |
| CutLineColor | Color | Cut surface line color. |
| CutLinePatternId | ElementId | ElementId of the cut surface line pattern. |
| CutLineWeight | int | Cut surface line weight. |
| DetailLevel | ViewDetailLevel | The detail level. |
| Halftone | bool | Value of the halftone override. |
| InvalidPenNumber | int | The invalidPenNumber for clearing line weight overrides. |
| IsCutBackgroundPatternVisible | bool | The visibility of the cut face background fill pattern. |
| IsCutForegroundPatternVisible | bool | The visibility of the cut face foreground fill pattern. |
| IsSurfaceBackgroundPatternVisible | bool | The visibility of the surface background fill pattern. |
| IsSurfaceForegroundPatternVisible | bool | The visibility of the surface foreground fill pattern. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| ProjectionLineColor | Color | Projection surface line color. |
| ProjectionLinePatternId | ElementId | Id of the projection surface line pattern. |
| ProjectionLineWeight | int | The projection surface line weight. |
| SurfaceBackgroundPatternColor | Color | The override color of the surface background pattern. |
| SurfaceBackgroundPatternId | ElementId | The ElementId of the surface background fill pattern override. A value of InvalidElementId means no override is set. |
| SurfaceForegroundPatternColor | Color | The override color of the surface foreground pattern. |
| SurfaceForegroundPatternId | ElementId | The ElementId of the surface foreground fill pattern override. A value of InvalidElementId means no override is set. |
| Transparency | int | Transparency of surfaces. |