# pvpython opening multiple visualizations in same window

**URL:** https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914
**Category:** ParaView Support
**Created:** [June 27, 2022, 7:59am UTC](https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914 "2022-06-27T07:59:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [June 27, 2022, 7:59am UTC](https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914/1 "2022-06-27T07:59:23Z")

</div>

Dear all,

I am now using a script on windows that opens automatically some CFD results, however, for every case I need to launch a new instance of paraview and open them in a new window.  
Is there a way in python to check if there is already an instance of paraview open and open the new files in the existing window?

Thanks in advance

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 27, 2022, 8:41am UTC](https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914/2 "2022-06-27T08:41:12Z")

</div>

Not sure what you mean, how do you run ParaView in python ?

---

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [June 27, 2022, 8:59am UTC](https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914/3 "2022-06-27T08:59:12Z")

</div>

Sorry, my bad I didn’t explain it properly…

I run a python script to open the paraview GUI and visualize cfd postpro, however sometimes I need to open one and then after some time open another case. Doing it by launching this script opens everytime a new window. I wondered if there is a way to check if there is a window already open and open it in the existing window

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 27, 2022, 9:47am UTC](https://discourse.paraview.org/t/pvpython-opening-multiple-visualizations-in-same-window/9914/4 "2022-06-27T09:47:32Z")

</div>

I’m afraid that is not directly possible, but you may be able to do that instead:

> <https://stackoverflow.com/questions/45236721/controlling-paraview-gui-from-python-idle/46407769#46407769>
