Share

SunAndShadowSettings.GetActiveSunAndShadowSettings Method

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.2.0.0 (26.2.0.0)

Syntax

C#

public static Element GetActiveSunAndShadowSettings(
	Document aDocument
)

Parameters

aDocument  Document
The document.

Return Value

Element
The active SunAndShadowSettings element for the supplied document.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?