[Paraview] ParaView 5.0 Python and Batch

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Mar 31 16:57:32 EDT 2016


Here's a sample script:

from paraview.simple import *

# Get a list of all available timesteps.
timeKeeper  = GetTimeKeeper()
timesteps = timeKeeper.TimestepValues

# Now make animation scene go to a specific timestep:
scene = GetAnimationScene()
scene.AnimationTime = timesteps[5] # assuming 5 > len(timesteps)


More information about the ParaView mailing list