Calculating new scalar and vector quantities when loading in data
Hello everyone,
I have been using the python calculator in order to create a set of new scalar and vector variables every time I load data into Paraview. This is rather time consuming and annoying to do every time I have to reopen Paraview. I have been using a source script for loading the data. In this script I have used the vtk commands .SetScalarFunctionNumber() and .SetVectorFunctionNumber() to get some variables that Paraview can calculate upon loading data. Is there anyway that within the same source script that I can (1) use the python calculator, (2) create the variables that I want, (3) and then assign them in the same way that the .SetScalar and .SetVector variables are assigned. Thank you for the assistance, gsh |
All times are GMT -4. The time now is 04:09. |