Revit 2023 API |
SunAndShadowSettings..::..GetMatchingPreset Method |
SunAndShadowSettings Class See Also |
Finds the name of the 'per-document' SunAndShadowSettings that matches the properties
of this per-view element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2011
Syntax
C# |
---|
public string GetMatchingPreset() |
Visual Basic |
---|
Public Function GetMatchingPreset As String |
Visual C++ |
---|
public: String^ GetMatchingPreset() |
Return Value
Name of the per-document SunAndShadowSettings that matches the view specific element.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | The SunAndShadowSettings is not view-specific. |