2023 Class
Changes 1
C

ColorOptions

Description:
A class providing access to color settings which affect the colors applied to specific views.
Remarks:
ColorOptions are managed and stored along with other global application options and thus impact the application as a whole.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ColorOptions
public class ColorOptions : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetColorOptions() ColorOptions Returns the current Revit instance's ColorOptions.
Name Return Type Description
P AlertColor Color The color used to highlight elements when a special alert is required.
P BackgroundColor Color The background color applied to views.
P CalculatingColor Color The color used to render elements when some aspect of their properties is currently being recalculated.
P EditingColor Color The color used to render elements when editing.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P PreselectionColor Color The color used to highlight candidates for selection before they are selected.
P SelectionColor Color The color used to highlight selected elements.
P SelectionSemitransparent bool Indicates whether or not selections will be shown in a semi-transparent manner.