Sorry, I just see your answer. Sure I can.
I have many files to read, that are so called :
- file.vts001 ----------> timestep 1
- file.vts002 ----------> timestep 2
- etc...
And I do some of my work in the python shell, using the VTK library.
I need to access to the different timesteps.
Up to now, I were using a function that looks like :
def reader(timestep):
> r = vtkXMLStructuredGridReader()
> r.SetFileName('file.vts%s'%(timestep))
> r.Update()
> return r.GetOutput() or GetOutputPort()
>
Is this what the reader method "SetTimestep" is made for ?
--
Aurélien MARSAN
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview