Sun Position

Hi all - I’m new to using Dynamo and have created a couple of simple routines, but now I would like to develop a routine which can show rays penetrating through a window (like the line of sight routines which have been shown) but using the suns azimuth and altitude to cast a 3D ray spread.

I can generate rays from a point in a room going outward (by selecting an object) but can’t seem to generate them from the position of the sun

Any help would be most welcome