Thanks Felipe !
You've made my day :)
I follow you advice and use the PassArrays filter just before the csvWriter and
it works like a charm :
------------- snippet start here ---------------------
PassArrays1 = PassArrays()
PassArrays1.PointDataArrays = ['Velocity', 'TempC', 'Rel_Velocity',
'arc_length']
source = PassArrays1
writer = CreateWriter("line.csv", source)
writer.FieldAssociation = "Points" # or "Cells"
writer.UpdatePipeline()
del writer
------------- snippet stop here ---------------------
Thank you very much
Francois
----- Mail original -----
De: "Felipe Bordeu" <[email protected]>
À: [email protected]
Envoyé: Jeudi 20 Mars 2014 15:12:54
Objet: Re: [Paraview] CSV writer: choose data to be written in the file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
maybe you can use vtkPassArrays to filter the arrays before the csvWriter.
Felipe
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview