[Paraview] Python to export spreadsheet

pat marion pat.marion at kitware.com
Mon Aug 16 23:06:09 EDT 2010


Hi Alan,

Perhaps there is new API that I am not aware of, but as far as I can tell
this is what is required:

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

Pat


On Mon, Aug 16, 2010 at 9:04 PM, Scott, W Alan <wascott at sandia.gov> wrote:

>  Does anyone have the python used to export a spreadsheet?  For instance,
>
>    - Sources/ Sphere/ Apply.
>    - Split Vertical
>    - Spreadsheet view
>    - File/ Export
>
>
> Thanks,
>
> Alan
>
> --------------------------------------------------------
> W. Alan Scott
> ParaView Support Manager
>
> GAITS
> Sandia National Laboratories, MS 0822
> Org 9326 - Building 880 A1-C
> (505) 284-0932   FAX (505) 845-0833
> ---------------------------------------------------------
>
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100816/c0036f25/attachment.htm>


More information about the ParaView mailing list