Sorry, I just see your answer. Sure I can. <br><br>I have many files to read, that are so called : <br><ul><li>file.vts001 ----------> timestep 1<br></li><li>file.vts002 ----------> timestep 2<br></li><li>etc...</li>
</ul>And I do some of my work in the python shell, using the VTK library. <br>I need to access to the different timesteps. <br><br>Up to now, I were using a function that looks like :<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
def reader(timestep):<br><div style="margin-left: 40px;">r = vtkXMLStructuredGridReader()<br>r.SetFileName('file.vts%s'%(timestep))<br>r.Update()<br>return r.GetOutput() or GetOutputPort()<br>
</div></blockquote><br>Is this what the reader method "SetTimestep" is made for ?<br><br>-- <br>Aurélien MARSAN<br>