RVTDocs.com

SunAndShadowSettings.SunAndShadowType

Property
Description:
Identifies the type of the SunAndShadowSettings element.
Remarks:
There are no restrictions on setting the type, but do note that some properties are not relevant for certain types. For example, the property EndDateAndTime is not relevant for the type SunAndShadowType.StillImage. In this example (and elsewhere), the previous value for the property is remembered for when the type is reverted. If that property has not been set yet, default values will apply.
Syntax
public SunAndShadowType SunAndShadowType { get; set; }
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration