2023-06-27 04:29 AM - last edited on 2023-07-03 10:02 PM by Doreena Deng
I'm trying to create a 3D object for use in Sun Studies that will show the current 3D window time and date as well as sun azimuth, altitude and project location (Obviously not casting shadows... ) I can get most of the information i need except the Date and Time. Using the GLOB_PROJECT_DATE is apparently only set for EcoDesigner.
Am I missing something simple? Any ideas??
Cheers
2023-06-30 07:29 AM
IMHO, You have to built in some sun engine into the object... was there done that. Anyway it will not be 100% the same with the AC engine. I did a code refactoring + UI for sun study object started by my friend for Polish direct sun regulations that produces the diagrams that the building authorities understand 😜
If the parameter produces a value in the 2d/3d/UI script: there is a way to automatically save them to csv file and, then on trigger load them to parameters. I had to do that for Geo cords and north angle.
Piotr
2023-06-30 07:51 AM
Piotr, Thanks... I was hoping for a simpler solution, as my coding is not that sophisticated. 🙃
Cheers
2023-07-03 03:34 PM
2023-07-04 03:16 AM
@Peter Baksa wrote:
there is REQUEST ("DateTime")
But isn't that the current date and time as in the real date and time?
I didn't think that was the time set for a sun study which is what Warwick is after.
Barry.
2023-07-04 03:51 AM
That's what I thought... I need the current time/date with in the 3D Window/3D Document to show in conjunction with the shadows.
Cheers
2023-07-04 08:47 AM
The biggest trouble with sun analyze object is: that there is no request/whatever (IMHO) that would give the sun azimuth/height.
And the calculation mostly is done on some set date in the year, not constantly, otherwise results will not be comparable.
In Poland those are the equinox days (both because of daylight saving).
Piotr
2023-07-04 08:58 AM
I've been able to get the sun information which will update from image to image, it's just the time / date I have issues with..