Export to CSV using CreateWriter
I am trying to write a python script that export a patch values to a CSV file.
Using the GUI, one would do the following:
1) Load the case (openFoam in my case);
2) Select the relevant item in the pipeline browser;
3) Select File > Save Data.
The code that I entered in the python shell is as follows:
I am using ParaView 3.98.1 32b on Windows.
I have bypassed my problem by using a Programmable Filter that output the data in a vtkTable.
The code stated above then correctly output the data from the vtkTable.
|All times are GMT -4. The time now is 17:34.|