Skip to main content

Speos client APIs 2024 R2

SourceAmbientCIEOvercast – Creating an ambient source CIE standard overcast sky

Last update: 17.07.2025

The following script sample shows you an example on how to create an Ambient Source CIE Standard Overcast Sky.

overcastSource = SpeosSim.SourceAmbientCIEOvercast.Create()
overcastSource.ZenithDirection.Set(GetRootPart().CoordinateSystems[0].Axes[1])
overcastSource.SpectrumType = SpeosSim.SourceAmbientCIEOvercast.EnumSpectrumType.LibrarySpectrum
overcastSource.SpectrumValueLibrary = ".\\SPEOS input files\\Sky.spectrum"

Connect with Ansys