We have a network file system where the maximum number of files per folder is quite limited so we have to do things like this:
folder1: result0.vtp - result100.vtp
folder2: result101.vtp - result200.vtp
…
My current quick and dirty solution is to create a folder where the number of files is unlimited and create symlinks to all result*.vtp files so Paraview can load all of them at once.
My questions are:
Can I load these files into one file sequence through the paraview GUI? It seems that only sequences within one folder is supported.
Can I load these files into one file sequence through the python interface?
I don’t think there is any direct way to get the GUI to load all those files at once. However, you should be able to do it through the Python interface.
The Python command to open a vtp file is XMLUnstructuredGridReader. If you set the FileName argument to a list of files, that list of files will be treated as a time sequence of files. So the relevant Python would look something like this.