CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Python to show row data in spreadsheet view (https://www.cfd-online.com/Forums/paraview/176424-python-show-row-data-spreadsheet-view.html)

JensD August 18, 2016 03:40

Python to show row data in spreadsheet view
 
Hi everyone,

I am making a macro to automate some of the post-processing I have to do. So far, I succeeded in extracting the data I want and opening the spreadsheet view.

However, the data is available as 'Attribute: Row Data' whereas the spreadsheet view is opened as Field Data. Using the trace function I could figure out how to switch to the row data, however this only works with the python shell and not in a macro. How can I do this in a macro?

Once I can select the row data, it should be quite easy to export this.

btw I am using paraview 4.1.0-64 bit in case this is of importance.

Kind regards,
Jens


All times are GMT -4. The time now is 08:26.