there is no traceback on the error, just comes up as syntax error in the script editor... the same UI file will load using the mel loadUI equivalent.
and thanks John, I was trying to figure a way to trigger the commands, I was looking at the visibilityChanged but setFocus may be a better workaround. On Mon, Jul 5, 2010 at 2:08 PM, Chris G <[email protected]> wrote: > What's the syntax error you're getting ? > > On Sun, Jul 4, 2010 at 8:43 PM, Jamie Macdougall <[email protected]> > wrote: > > Hi... > > > > Pound one (#1) puts the current widgets value into a dynamic property in > Qt > > Designer > > eg. > > > > property > > -command > > > > value > > someMel #1 > > > > but this #1 symbol only seems to work for mel. > > > > Is there an equivalent for python? the pound symbol gives a syntax error > > when the command is python. > > > > property > > +enterCommand > > > > value > > "somePython( #1 )" > > > > I've been searching for hours without luck. > > > > -- > > http://groups.google.com/group/python_inside_maya > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
