Skip to content

ColorFillScheme.IsByRange

Public Property

Represents if the parameter values in entries are treated as value range or not.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public bool IsByRange { get; set; }

Property Value

Boolean

Exceptions

Exception

Condition


InvalidOperationException

When setting this property: The scheme entries cannot be explained by range.


Remarks

Notes:

  • Only numeric parameter values could be treated as by range.
  • There will exist at least two entries if the scheme is by range, and the first entry value should be always Int.MinValue or -Double.MaxValue.
  • The entries will always be sorted by ascending in the scheme if it is by range.