Also look at: http://www.vtk.org/Wiki/ParaView/Python_Scripting#Exporting_CSV_Data
>>> writer = CreateWriter(".../foo.csv", source) >>> writer.FieldAssociation = "Points" # or "Cells" >>> writer.UpdatePipeline() >>> del writer Utkarsh On Thu, Feb 24, 2011 at 4:51 AM, Paul Edwards <paul.m.edwa...@gmail.com> wrote: > d'oh accidentally click send! > I've added the bug for python trace to > mantis:- http://www.paraview.org/Bug/view.php?id=11892 > Regards, > Paul > > On 24 February 2011 09:42, Paul Edwards <paul.m.edwa...@gmail.com> wrote: >> >> Thanks Jean - I also found this example when looking through the mailing >> list: >> A workaround to save CSV data in the Python Shell is the following: >> It would be nice if it worked from the trace (and without having to create >> a spreadsheet >> >> On 23 February 2011 16:59, Favre Jean <jfa...@cscs.ch> wrote: >>> >>> w = CSVWriter() >>> w.FileName = "/local/data/tmp/foo.csv" >>> #s1 should be of type Table >>> w.Input = s1 >>> w.UpdatePipeline() >>> >>> >>> ----------------- >>> Jean M. Favre >>> Swiss National Supercomputing Center >> > > > _______________________________________________ > 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 > > _______________________________________________ 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