Yoshimi, Thanks for the script! This does exactly what I was wanting to do.
One further question, where in the script can I define the size of the images to save? Best, Ryan > On Sep 26, 2016, at 10:40 PM, kenichiro yoshimi <rccm.kyosh...@gmail.com> > wrote: > > Hi, Ryan > > You try the script as follows from [Tools]-[Python Shell] after > reading datasets into ParaView. > > ---------save_screenshots.py--------- > from paraview.simple import * > > # Change 10 to the amount of timesteps > for num in range(0,10): > print 'Save screenshot ' + str(num) > > renderView1 = GetActiveViewOrCreate('RenderView') > renderView1.ResetCamera() > > # Save screenshot > # Change to your folder > name = 'G:/ParaViewData-v4.1/Data/singleSphereAnimation/singleSphere' > + str(num).zfill(4) + '.png' > print 'Save as ' + str(name) > SaveScreenshot(name, magnification=1, quality=100, view=renderView1) > > animationScene1 = GetAnimationScene() > > animationScene1.GoToNext() > --------- > > Thanks, > yoshimi _______________________________________________ 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