Hi, I can think of two solutions : 1 . Kind of ugly but does work (I've tried it) : Create a template state file, and replace the filename by a key that a script can change for you when you want to load in a new file.
2. Write out your pipeline to a python script and just change the file you load in at the beginning. Jacques 2009/1/8 mirko heuegger <[email protected]> > Hello! > > On Thu, Jan 8, 2009 at 12:37 PM, Jérôme <[email protected]> wrote: > > Thank you ! This will help for sure, when the loaded file is the same > > at each session. But in the case where the user wants to try another > > file, will it be possible for him to change the filename in a simple > > way ? > > you mean, using the _same_ paraView state-file, but different 'data'-files? > if so, this is not really possible. > However, state-files are XML, so it might be possible to update the > filenames in this state-files, but this looks like a ugly solution. > > And i don't think that there is an easy way to _replace_ an (already) > loaded 'data'-files in paraView. > > hth > > mirko > > -- > Real programmers don't document; if it was > hard to write, it should be hard to understand. > _______________________________________________ > ParaView mailing list > [email protected] > http://www.paraview.org/mailman/listinfo/paraview >
_______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
