Run Paraview in PYQT5 widget python

Hi,
I wrote a code for a gui with pyqt, I want to show the results in a widget. But the paraview code opens its own separate window.
For example:
#------------------------
from paraview.simple import *
Sphere()
Show()
Render()
#------------------------
opens a new window and shows the sphere in it.
How can I tell it to open it in a canvas in my gui?

As you can see the paraview result is in a complete separate window, instead of being in the main window (MeshVisual example)

found the answer here

1 Like