Thanks Jean - I also found this example when looking through the mailing
list:

8<---------------------------------------------------
try: paraview.simple
except: from paraview.simple import *

Sphere()
view = paraview.simple._create_view("SpreadSheetView")
Show()
Render()
exporters = servermanager.createModule("exporters")
csvExporter = exporters.CSVExporter(FileName="/tmp/test.csv", View=view)
csvExporter.Write()
--------------------------------------------------->8

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 <[email protected]> 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

Reply via email to