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

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri May 1 16:41:46 EDT 2015


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 2:43 PM, Fabian Braennstroem
<f.braennstroem at gmx.de> wrote:
> 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 have an advice!?
>>
>> Thanks!
>> Best Regards
>> Fabian
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview


More information about the ParaView mailing list