Title says it all. Thx
Edit
Note I'm not trying to calculate these values I want to assign them to the city engine environment settings. Idea is to set up a script as below.
assign sun position
set position by bookmark
snapshot
layer off.
layer on
snapshot
etc
set position bookmark
etc
Set new sun position
etc
Cheers
Solved! Go to Solution.
Hello Brian,
Sorry to inform you, that the sun can't be set via python.
The CityEngine team is aware of this missing feature.
I've added your request.
@nothing builtin but there are tons of libraries
Pysolar: staring directly at the sun since 2007 — Pysolar 0.7 documentation
sunpos 1.1 : Python Package Index
astral 0.7.4 : Python Package Index
I could provide more, but I assume you have ruled out using externals
Hi Dan, thanks for your reply. I'm not trying to calculate these values I want to assign them to the city engine environment settings. Idea is to set up a script as below.
assign sun position
set position by bookmark
snapshot
layer off.
layer on
snapshot
etc
set position bookmark
etc
Set new sun position
etc
Cheers
ok... I don't know what CE has for python methods and functions or properties, but certainly not within arcmap and arcpy. I hate to send you back to troll through the help documentation but... The only mention of 'azimuth' was under 'light' for setting light source... but not direct mention of python
Hello Brian,
Sorry to inform you, that the sun can't be set via python.
The CityEngine team is aware of this missing feature.
I've added your request.
Thanks for your replies.