[Paraview] File Chooser with Python Macro

2012-06-13 Thread Rebecca Reizner
Is it possible to open up Paraview's file chooser using a python macro? Thanks, Rebecca ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and

Re: [Paraview] File Chooser with Python Macro

2012-06-13 Thread Pat Marion
I don't think so, but you can use PyQt4: import PyQt4.QtGui filename = PyQt4.QtGui.QFileDialog.getOpenFileName(None, Select a file...) print filename Pat On Wed, Jun 13, 2012 at 10:58 AM, Rebecca Reizner rrreizner7...@gmail.comwrote: Is it possible to open up Paraview's file chooser using

Re: [Paraview] File Chooser with Python Macro

2012-06-13 Thread Aashish Chaudhary
I want to add that, this won't replicate the ParaView file dialog behavior in client - server mode (to open files from the server). On Wed, Jun 13, 2012 at 11:59 AM, Pat Marion pat.mar...@kitware.com wrote: I don't think so, but you can use PyQt4: import PyQt4.QtGui filename =