Revit 2026 API
Sun |
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: 26.0.4.0 (26.0.4.0)
Syntax
public string GetMatchingPreset()
Public Function GetMatchingPreset As String
public: String^ GetMatchingPreset()
member GetMatchingPreset : unit -> string
Return Value
StringName of the per-document SunAndShadowSettings that matches the view specific element.
| Exception | Condition |
|---|---|
| ArgumentException | The SunAndShadowSettings is not view-specific. |
See Also