I am writing a batch processing script to which writes the output of some
filters to a file. I am really only interested in one of the data arrays in
the result and it would be nice to pass that single data array to a writer,
e.g. CSVWriter. Is this possible? If so, how do I do it? An outline of my
script is below:

servermanager.LoadState(options.inputf)
GetSources()
dr = FindSource("dissipation_rate")

## I Want to get a single data array from object/source dr ###
dr_array = ???

writer = CreateWriter(options.outputf,dr_array)
writer.FieldAssociation = "Cells"
writer.UpdatePipeline()
_______________________________________________
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