CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Control Paraview interactively using IDLE? (https://www.cfd-online.com/Forums/paraview/190784-control-paraview-interactively-using-idle.html)

awa5114 July 22, 2017 02:07

Control Paraview interactively using IDLE?
 
I am trying to control Paraview interactively using IDLE. This would involve sending commands from IDLE and seeing the changes occur in Paraview. I would rather not use the in-Paraview python shell.

So far, I have succeeded in importing the Paraview modules (simple, servermanager…etc) from IDLE. However the commands sent do not reflect in Paraview. For instance:

>>> from paraview.simple import *
>>> cone = Cone()
>>> Show()
>>> Render()
does indeed create a cone. However the cone is output to a new, independent OpenGL window, and not the Paraview GUI.

Is it possible to control Paraview interactively using IDLE? If so how to accomplish this? Thanks


All times are GMT -4. The time now is 05:11.