SunAndShadowSettingsGetActiveSunAndShadowSettings Method |
Returns the current SunAndShadowSettings element assigned to the active view for the
supplied document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static Element GetActiveSunAndShadowSettings(
Document aDocument
)
Public Shared Function GetActiveSunAndShadowSettings (
aDocument As Document
) As Element
public:
static Element^ GetActiveSunAndShadowSettings(
Document^ aDocument
)
static member GetActiveSunAndShadowSettings :
aDocument : Document -> Element
Parameters
- aDocument Document
-
The document.
Return Value
Element
The active SunAndShadowSettings element for the supplied document.
Exceptions
See Also