Re: [Paraview] Python scripting: Updating PVDReader source when pvd file has changed and rendering latest time step

2010-03-26 Thread Florian Rathgeber
Translating that to Python as I understand it would correspond to: reader.FileName = reader.FileName = original That does the trick, thank you! I had tried that before and had hoped there is a nicer way, since I get VTK errors about not being able to open the file and read the file information

Re: [Paraview] Python scripting: Updating PVDReader source when pvd file has changed and rendering latest time step

2010-03-22 Thread Utkarsh Ayachit
The vtkPVDReader (you may want to look at it's superclasses as well) does not re-read the XML file, unless the reader is modified. What you really need, is somehow call Modified() on the reader. One way would be setting the filename to empty (then call vtkSMPRoxy::UpdateVTKObjects()) and then

[Paraview] Python scripting: Updating PVDReader source when pvd file has changed and rendering latest time step

2010-03-19 Thread Florian Rathgeber
Hi, I'm trying to get ParaView to work in an interactive context for numerical simulations. The first goal is to have ParaView visualize time steps as they are output by the solver (vtu for individual steps, pvd as collection). I searched the wiki, mailing lists etc. and it seems this cannot be