[Paraview] Can sources use filenames in property panels?

clinton at elemtech.com clinton at elemtech.com
Mon Aug 25 16:27:57 EDT 2008


I just committed a change in CVS to help you.
Put back your FileListDomain in your properties.
But add an XML hint to show the properties in the panel.
The fix I put in puts it in the sources menu if the show hint is there.

<SourceProxy ....>
   .....
     <Hints>
       <Property name="FileName" show="1"/>
     </Hints>
</SourceProxy>

Clint

On Monday 25 August 2008 1:20:47 pm Samuel Crow wrote:
> Hello again,
>
> I'm trying to make a source that can read in two files and generate output
> based on those files and a few other selection boxes on the panel
> describing the file processing.  I cannot use file readers for the two
> files because there are already readers registered to both file types and
> they produce inappropriate data conversions for the type of data processing
> I have to do on the files.  As such, I also cannot use a filter to process
> the input files due to that fact.
>
> Whenever I try to make a string gadget on the source's properties panel it
> doesn't register on the sources menu.  When I comment out the
> FileListDomain from each of the filename gadgets, the string gadgets don't
> appear at all but the plugin registers as a source.  Whether I do or don't
> comment out the FileListDomain, everything compiles correctly and loads
> correctly under the CVS version of Paraview for Windows from last
> Wednesday.
>
> How can I make a source that can read a file?
>
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list