[Paraview] FW: sum of values at all nodes

David E DeMarle dave.demarle at kitware.com
Fri Apr 17 13:35:09 EDT 2009


Typo, I meant this script:

>>>> from paraview.simple import *
>>>> mm = servermanager.filters.MinMax()
>>>> mm.Operation = "SUM"

>>> pm=servermanager.ProxyManager()

>>>> print pm.GetProxiesInGroup("sources")
> {('Wavelet1', '114'): <paraview.servermanager.Wavelet object at 0x2d9c9910>}
>>>> wavelet = pm.GetProxy("sources", "Wavelet1")
>>>> out = servermanager.Fetch(wavelet, mm)
> applying operation
>>>> out.GetPointData().GetArray("RTData").GetValue(0)
>
> 1418359.5


More information about the ParaView mailing list