<div dir="ltr">I'm trying to built a single VTI file with multiple time steps, and I can't quite figure it out.  I have data that is in image data format, and I can save that as a single VTI file.  I would like to iterate through multiple images and save them to a single VTI file that would show up in ParaView as an image with multiple time steps.  I've been able to append them together along an axis with vtkImageAppend (see below), but that isn't exactly what I need.<div><br></div><div>Here is a snip of the code I have now:</div><div>writer = vtk.vtkXMLImageDataWriter()</div><div>writer.SetTimeStepRange(ts,te)</div><div>writer.SetNumberOfTimeSteps(te-ts)</div><div>writer.SetFileName(<a href="http://tmp.name">tmp.name</a>)</div><div>a = vtk.vtkImageAppend()</div><div>for timestep in range(ts,te):</div><div>    image = odbccutout.OdbcCutout().getvtkimage(webargs,timestep)</div><div>    a.AddInputData(image)</div><div>    a.Update()</div><div>writer.SetInputData(a.GetOutput())</div><div>writer.Write()</div><div><br></div><div><br></div><div>Any help would be appreciated!</div><div>Stephen</div></div>