I noticed that forms do not update their values after pressing Run.
To test:
1. Create this script:
Code: Select all
from enveditor import *
form = ScriptDialog('', '')
form.AddInputKnobInt('Length', 5, 0, 10)
form.Execute()
value = form.GetInputValue('Length')
Utils.ShowMessage(str(value))
2. Execute the script
3. Type '7' in the textbox of the knob
4. Inmediately click on 'Run' button.
5. See that the script takes the previous value (5 in this case).
Thank you!!