[Paraview] Calculator and Python
Dominic Jennewein
dominic.jennewein at gmail.com
Fri Dec 11 11:44:12 EST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091211/8f0e75a0/attachment.htm>
More information about the ParaView
mailing list