$ nuke -t
_>> import PySide.QtCore
_>> import PySide.QtGui
_>> PySide.QtGui.QWidget().show()
QWidget: Cannot create a QWidget when no GUI is being used
Abort
$

On 14/02/12 05:27, Nathan Rusch wrote:
> Not using native Nuke functions (nuke.getFilename, etc.). You would
> probably need to raise a simple PySide GUI.
>  
> -Nathan
> 
>  
> *From:* coreydrake <mailto:[email protected]>
> *Sent:* Monday, February 13, 2012 10:49 AM
> *To:* [email protected]
> <mailto:[email protected]>
> *Subject:* [Nuke-python] Opening an import file dialog while in terminal
> mode
>  
> Is there a way to have a python script open a file browser to allow the
> user to import a file while in terminal mode?
> 
> ------------------------------------------------------------------------
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> 
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

-- 
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
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