[Paraview] UseDirectoryName hint

Paul Edwards paul.m.edwards at gmail.com
Wed May 27 11:42:08 EDT 2009


Hi,

I am trying to use the "UseDirectoryName" hint for my source that requires a
directory.  Below is my xml file:

8<-----------------------------------------------------------
<ServerManagerConfiguration>
  <ProxyGroup name="sources">
    <SourceProxy name="MySource" class="vtkMySource" label="MySource">

      <StringVectorProperty name="Directory"
                            command="SetDirectory"
                            number_of_elements="1">
          <FileListDomain name="files"/>
          <Hints>
              <UseDirectoryName />
          </Hints>
      </StringVectorProperty>

      <Hints>
          <Property name="Directory" show="1"/>
      </Hints>
  </SourceProxy>
  </ProxyGroup>
</ServerManagerConfiguration>
----------------------------------------------------------->8

This isn't doing what I would expect - it is just giving a file dialog where
any file can be selected.  If I select a directory and click "ok", it will
just open that directory and list the files in the dialog.

Any help would be appreciated,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090527/d76bc794/attachment-0001.htm>


More information about the ParaView mailing list