[Paraview] CSV writer: choose data to be written in the file

Francois Beaubert Francois.Beaubert at univ-valenciennes.fr
Thu Mar 20 07:09:22 EDT 2014


Hi all, 

Is it possible to choose the data to be written in a csv file using CreateWriter ?
I've made a python script which make an XY plot using PlotOverLine filter but I'm not able to choose the data written in the csv file:

source = PlotOverLine1
writer = CreateWriter("line.csv", source)
writer.FieldAssociation = "Points" # or "Cells"

What can I do to choose which variables will be written in the csv file.
Any help will be warmly welcome.

Thank you very much
Francois


More information about the ParaView mailing list