Hello guys, here’s 2 tickets send by my developer working on a Deadline internal plugin :
I’m writing a tool using scriptDialog class, and I need to get the “collapsed” state of a Groupbox (closed or not)
I encounter some issues with GroupBox items :
- their only accessible fields (using python vars() function) are the ‘+’ and ‘-’ QPixmaps
- when I try to access their collapsed state using ScriptControl.ScriptControl.GetCollapsed (self, name), the following exception is thrown :
c:\FranticRegressions\DL_Main\git_git.thinkbox.corp.amazon.com_deadline_deadline\Submodules\ThinkboxUI\ThinkboxUI\Controls\Scripting\ScriptControl.py", line 71, in GetCollapsed
NameError: global name ‘groupBoxPairs’ is not defined
Note that the function SetCollapsed() works perfectly : only GetCollapsed() throws the exception.
I’m currently running Deadline 10.0.16.6
Thanks!
-p-