Set intermediate color entries (other than the minimum and maximum settings).
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public void SetIntermediateColors( IList<AnalysisDisplayColorEntry> map ) |
| Visual Basic |
|---|
Public Sub SetIntermediateColors ( _ map As IList(Of AnalysisDisplayColorEntry) _ ) |
| Visual C++ |
|---|
public: void SetIntermediateColors( IList<AnalysisDisplayColorEntry^>^ map ) |
Parameters
- map
- Type: System.Collections.Generic..::..IList<(Of <(<'AnalysisDisplayColorEntry>)>)>
Array of intermediate color entries.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | intermediate color entries with specific values are not ordered by value (min to max) or too many intermediate colors (>100). |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |