... I don't understand anything at all now...

>From a same MultiBlockDataSet, doing this in Paraview through a programmable
filter, and in pvpython, I don't get the same result ... !

 from paraview import vtk

i = self.GetInput()

b = i.GetBlock(1)

c = vtk.vtkArrayCalculator()

c.SetInput(b)

c.SetFunction('1.4')

c.SetResultArrayName('test')

c.Update()

print c.GetOutput().GetPointData().GetArray('test').GetTuple1(1)

in pvpython ---> 1.4
in paraview ---> 1.0

Could someone reproduce this ?
_______________________________________________
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