Returns the current SunAndShadowSettings element assigned to the active view for the
supplied document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static Element GetActiveSunAndShadowSettings( Document aDocument )
Parameters
- aDocument Document
- The document.
Return Value
ElementThe active SunAndShadowSettings element for the supplied document.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
