[Paraview-developers] Folder Selector in ParaView

rclaveria rclaveria at dim.uchile.cl
Tue Jun 5 18:52:48 EDT 2018


Hello,

I'm writing a filter for ParaView. I need to enable the user to select a 
folder through the filter's menu, ideally using the module pqFileDialog. 
For files, the following lines on the xml file of the filter suffice, 
but with this piece of code only files are admitted (not directories). 
Is there a way to set a menu that admits only directories?

       <StringVectorProperty animateable="0"
                             command="SetOutputDir"
                             name="OutputDir"
                             number_of_elements="1"
                             panel_visibility="default">
       <FileListDomain name="files" />

Thanks


More information about the Paraview-developers mailing list