Hi, I have a bunch of vtk files named by simulation time: U_0.05.vtk, U_0.10.vtk, U_0.15.vtk, …
Now I want to extract the time in filename, i.e, 0.05, 0.10, 0.15, …, and source → text to renderview, like time=0.05, time=0.10, time=0.15, … Is there anyway in paraview to identify the filename in text panel? Thanks!
I have the same question. How to get the file path and file name of the file that has been read in, and whether there are relevant function interfaces that can be used?
But I received the error “name ‘t_index’ is not defined”. It seems that I need to get the current time step used in active view. Do you know how to do that in paraview?