I’m trying to use Master_GDL script for the first time. My goal is to set a value for a user global variable in the master script, and have subsequent scripts run during 3d window generation and use the value.
My first effort is not working, and I suspect I’m missing something obvious.
Script:
– created with ArchiCAD gdl editor
– object name is “MASTER_GLD”
– object subtype set to “LIBRARY MASTER”
– variable is set in master script (only script space available)
– “GLOB_USER_1=5” is code used
But GLOB_USER_1 evaluates to 0, not 5, when accessed in another script.
What’s wrong?