Get colored surface settings object from the style.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2011
Syntax
| C# |
|---|
public AnalysisDisplayColoredSurfaceSettings GetColoredSurfaceSettings() |
| Visual Basic |
|---|
Public Function GetColoredSurfaceSettings As AnalysisDisplayColoredSurfaceSettings |
| Visual C++ |
|---|
public: AnalysisDisplayColoredSurfaceSettings^ GetColoredSurfaceSettings() |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | colored surface settings were not created with the object. |