[Paraview] Calculator and Python
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Dec 14 09:42:07 EST 2009
There's seems to be a bug with Calculator panel, that it does not
respect the value set using the python shell.
I've added it to the bug tracker:
http://paraview.org/Bug/view.php?id=10049
Utkarsh
On Fri, Dec 11, 2009 at 11:44 AM, Dominic Jennewein
<dominic.jennewein at gmail.com> wrote:
> Hello,
>
> I'm trying to programm the Calculator with the help of Python to automate
> the pipeline.
> Isn't it possible to see the changes in the GUI?
> I tried it like this:
>
> calc=Calculator()
> calc.Function='Normals.U' #Pointproduct of two Vectors U and Normals
> calc.ResultArrayName='newResult'
> calc.ReplaceInvalidResults=0
> calc.UpdatePipeline()
> Show()
>
> but in the GUI, it didn't change.
> In the shell the values are changed. (If I press "Apply" in the GUI, the
> values change back (ok, thats not a bug))
>
> I think the Calculator Filter isn't really "Apply"ed after that. I don't get
> any result if I'm adding a IntegrateVariablesFilter on this.
>
> Has somebody the same problems?
>
> Thank you,
>
> Dominic
>
>
>
>
> _______________________________________________
> 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
>
>
More information about the ParaView
mailing list