I'm new on paraview, and I want to make a script that render a vtk file, using only pvpython. Therefore, I wrote this script
from paraview.simple import *
from paraview.vtk.vtkFiltersSources import vtkSphereSource
paraview.simple._DisableFirstRenderCameraReset()
renderView1 = GetActiveViewOrCreate('RenderView')
renderView1.ViewSize = [1080, 860]
reader = OpenDataFile([nameFile...])
Interact()
Render()
But when I launch the script with pvpython using the command .\pvpython.exe .\myscript.py
, the visualisation shows an empty window, without my mesh
Does someone have an idea, of why my mesh isn't rendered in the view ?