We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-02-12 11:40 AM - last edited on 2021-09-14 01:23 PM by Noemi Balogh
if glob_ui_button_id = UI_SET then count = vardim1(list) list[count+1] = GLOB_SUN_AZIMUTH parameters list = list endifWhen ui_button (with id = UI_SET) is pressed only default value (240) is placed in "list" array but when use e.i
rotz GLOB_SUN_AZIMUTH block 1,1,1rotation is ok.
2021-02-13 04:45 PM
2021-02-15 07:23 PM
2021-02-23 04:28 PM
Piotr wrote:Yes I know that. script was put into Master.
http://gdl.graphisoft.com/reference-guide/fly-through-information
Does not work in Parameter script...only 2-3D and UI.
Piotr
2021-02-23 04:32 PM
Peter wrote:Yes I want to make an object that stores several sun postions and draws 2D symbol with cpecific rays.
The camera tool can store different sun positions, and GLOB_SUN_AZIMUTH will be updated when rendering the animation path.
Are you trying to do something different?
2021-02-23 04:52 PM
greg_lupo wrote:That actually doesn't matter.
Yes I know that. script was put into Master.
2021-02-23 05:00 PM
runxel wrote:I understand. hmm pity. Now it works manually. user rotate hotspot2 in actual azimuth position of sun and drag hotspot in 3d to get actual Altitude. Then in UI can add this two values to array.
greg_lupo wrote:That actually doesn't matter.
Yes I know that. script was put into Master.
The master script in GDL is kind of a "global" script in that way, that you can put any command there, it will mostly executed in the right context.
This also means, your script won't work.
What you want to achieve is not possible, the user will have to input the sun positions manually, if you want to have them all at once.
2021-03-01 01:40 PM
ui_outfield GLOB_SUN_AZIMUTH, 0, 0, 100, 20
2021-03-02 09:47 AM