[Paraview] File Chooser with Python Macro

Pat Marion pat.marion at kitware.com
Wed Jun 13 11:59:40 EDT 2012


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<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/**mailman/listinfo/paraview<http://www.paraview.org/mailman/listinfo/paraview>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120613/8d3c99de/attachment.htm>


More information about the ParaView mailing list