I have created a Paraview state file .pvsm. When I ran a python script that loads the state file and saves an animation the zoom level is different than then one when I was creating the state file in Paraview. Is it possible to change the zoom level?
from paraview.simple import *
LoadState("Wfield_filaments.pvsm")
renderView1 = GetActiveViewOrCreate('RenderView')
renderView1.ViewSize = [1200, 600]
renderView1.ResetCamera()
renderView1.Update()
SaveAnimation(
"Wfield_filaments_view01.png"
, ImageResolution=[1200, 600]
)
I tried changing the camera position and focal points but it didn’t seem to change anything.