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
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to