Page 1 of 1

Posted: 21 Mar 2017, 19:41
by woodslanding
IML can get the value of a terminal of a control and store it to a variable, but the script engine knows nothing about the value of this variable, right?

I guess I have to use IML to set an input of the script to the value of this variable.... from within the script itself? Sounds dangerously self-referential ;)

Or maybe there is a simpler way?

The reverse seems very easy... read the value from file, and set value of control via IML, very straightforward.

Posted: 21 Mar 2017, 23:56
by 23fx23
This is the way i usually do personally , iml get a value, set the temp variable, apply back to script input, script trigs next scope. does all within a script and it does work. maybe the global used usine 'temp' variable could be accessed directly witin the script that could be nice tho i suppose there is some latency involved in the process so might not be so easy

Posted: 25 Mar 2017, 00:07
by woodslanding
that's what I thought. Nice to get confirmation that it will work before diving in.....

Thanks!
-eric