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

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Thu Mar 20 10:12:54 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

maybe you can use vtkPassArrays to filter the arrays before the csvWriter.

Felipe


Le 20/03/2014 12:09, Francois Beaubert a écrit :
> 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
> _______________________________________________
> 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
> 


- -- 
Felipe Bordeu Weldt
Ingénieur de Recherche
- -------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
- -------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTKvdbAAoJEE/fMfNgU9/DEGwH/2i0BLfc9Mdk7k5Jvz5E/nR4
jw/NjLd7oj22sXspN2jmlsTUpqe8X2wyEDfSkFaztVB8FunQ7xEayJh+OBx7M805
Q35agkG8yS84FsMIoDqro8zeglarT79q6ymYsdpfX+g6lPqQu4atblLoKkr7ULua
Q+IS13nWvJRpXcSngPBkHQ3ONh3XeSkoHMfs+9Yq9SQ6ow6iGcCCAHzaObI4twI4
i1pZMFgL19nu2nI/AeVC25nbEMEhnkhejUr2Rh15VHbqr8yvccWmC9sFeLU7VfJa
Q0NQ4yyis1iiEhrgXJmLpnRYsSng8AymFjUYZKRdGY3GqK8TbCHu4wLp+U56dfw=
=zOHW
-----END PGP SIGNATURE-----


More information about the ParaView mailing list