Almost! I would like it so that I can run this state on files in different folders. I might have the same simulation with different resolution for example three folders;
Sim1 (dx = 0.5)
Sim2 (dx = 0.25)
Sim3 (dx = 0.05)
And then inside each folder I will have a vtk with the same name, for example “Content.vtk”, and then I want by using a state in a fast manner to view contents in Paraview.
I’m afraid this is not supported yet. I think it would made sense to add a --state-directory option to cover your use case. Feel free to open an issue on our gitlab : https://gitlab.kitware.com/paraview/paraview/-/issues
In the meantime, the only work around I can think of is to edit your file with a script in order to change the directory directly in it.