[Paraview] python script loading state file and replace the datafile

2015-04-25 Thread Fabian Braennstroem
Hello, I am not able to find, how to change the ensight data file when loading a pvsm-state file with python. It would be great if you have an advice!? Thanks! Best Regards Fabian ___ Powered by www.kitware.com Visit other Kitware open-source projec

Re: [Paraview] python script loading state file and replace the datafile

2015-04-28 Thread Fabian Braennstroem
Hello, sorry, me again. Would be great if someone has an advice! Thanks in advance! Best Regards Fabian On 04/25/2015 08:48 PM, Fabian Braennstroem wrote: Hello, I am not able to find, how to change the ensight data file when loading a pvsm-state file with python. It would be great if you ha

Re: [Paraview] python script loading state file and replace the datafile

2015-05-01 Thread Utkarsh Ayachit
Fabian, The only way to this currently, is to use some of the XML processing libraries (either from ParaView) or modules provided by Python (https://docs.python.org/2/library/xml.html) to process the XML to change the filename in the state file before loading it. Utkarsh On Tue, Apr 28, 2015 at

Re: [Paraview] python script loading state file and replace the datafile

2015-05-03 Thread Fabian Braennstroem
Hello Utkarsh, ok, thank you! Best Regards Fabian On 05/01/2015 10:41 PM, Utkarsh Ayachit wrote: Fabian, The only way to this currently, is to use some of the XML processing libraries (either from ParaView) or modules provided by Python (https://docs.python.org/2/library/xml.html) to process