[Paraview] File Chooser with Python Macro

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Jun 13 14:31:55 EDT 2012


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.marion at kitware.com> wrote:
> 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 <rrreizner7590 at gmail.com>
> wrote:
>>
>> 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 check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
> _______________________________________________
> 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 check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com


More information about the ParaView mailing list