I had this problem as well and it was killing me! Here try this:

#the first line of your py file that makes the panel
from __future__ import with_statement

#then later when you want to open the script
with nuke.Root(): 
    nuke.scriptOpen(script)

This fixed the problem for me.



_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to