Hello experts.
I am trying to load a state file using paraview.simple, version 5.10.1.
I am using LoadState in paraview.simple to load a state file.
Is there any way to visualize a sequentially numbered file using a state file?
For example,
for dnum in range(100, 200 + 1, 10):
file_path = “FULLPATH/data-{}.cgns”.format(dnum)
LoadState('a.pvsm',
LoadStateDataFileOptions='Choose File Names',
DataDirectory='FILE DIRECTORY',
filenames=[file_path]
)
output_filename = output_filename.format(dnum)
SaveScreenshot(output_filename, GetActiveView())
Delete(GetRenderView())
and I tried this, but only the data-10.cgns in a.pvsm is loaded.
Is there a built-in search/replace mechanism I can use to make this work?
Thank you!