[Paraview] [Catalyst] Extracting and saving data from a spreadsheet

Renato Elias rnelias at gmail.com
Wed May 31 13:44:55 EDT 2017


Hi there, I'm trying to save some data computed with calculator and
integratevariables pipeline within a coprocessing session. For this
purpose, I've been trying the following  procedure:

# create a new 'Integrate Variables'
...
1: my_calc = IntegrateVariables(Input=calculator1)
2: data = servermanager.Fetch(my_calc)
3: my_value = data.GetPointData().GetArray("ComputedData").GetValue(0)
4: fout = open("lift.dat","a")
5: fout.write("%5.2f" % my_value)
...

but it's not working and the error seems to be occuring at line 3. Any idea?

Thanks

Renato N. Elias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170531/a9b202dd/attachment.html>


More information about the ParaView mailing list