[Paraview] Python calculator sum_per_block()

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Nov 8 16:13:13 EST 2017


That sounds like a bug to me. `sum_per_block` should work as you
expect `sum_per_block(Volume)`. Let me see what's going on.

On Mon, Nov 6, 2017 at 3:10 PM, Dennis Conklin
<dennis_conklin at goodyear.com> wrote:
> All,
>
>
>
> Anyone know how this works?
>
>
>
> I have an element variable called “Volume”,  I tried:
>
> sum_per_block(Volume) and
>
> sum_per_block(“Volume”)  and
>
> sum_per_block(inputs[0].CellData[‘Volume’])
>
>
>
> And all I got was errors.    How should this work – and where will the
> results be – will each element in a block get the total volume for that
> block as a variable?
>
>
>
> Thanks for any hints.
>
>
>
> Dennis
>
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list