how to change Time zone with GhPython?
does this help?:
import scriptcontext as sc sun = sc.doc.Lights.Sun print sun.TimeZone sun.TimeZone = 8.0 print sun.TimeZone
I tried it but rh.Render.Sun.SunDirection(lat,long,date) don’t give the right direction
I tried that but the problem rh.Render.Sun.SunDirection(lat,long,date) don’t change
Is there another way to get Sun direction?
I don’t know what’s wrong with Render.Sun.SunDirection but i use Azimuth and Altitude to find sun position and sun direction