Try Using CreateWriter() like so:
writer = CreateWriter(".../foo.csv", source)
writer.FieldAssociation = "Points" # or "Cells"
writer.UpdatePipeline()
del writerDavid E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Oct 4, 2013 at 10:18 AM, Peter Maday <[email protected]> wrote: > Dear All, > > I would like to automate a process that involves saving the output of a > PlotSelectionOverTime filter to a CSV file. Manually it is done by invoking > the "Save data " command from the File menu while the graph view is > selected. > > When I try to record the trace for this step, it does not contain the CSV > save part. > > My question is how to save the PlotSelectionOverTime output to a text file > in a script. > > Thansk a lot! > > _______________________________________________ > 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
