# render multiple views with single Catalyst Python script

**URL:** https://discourse.paraview.org/t/render-multiple-views-with-single-catalyst-python-script/16891
**Category:** In Situ Support
**Tags:** catalyst, python
**Created:** [July 2, 2025, 9:33pm UTC](https://discourse.paraview.org/t/render-multiple-views-with-single-catalyst-python-script/16891 "2025-07-02T21:33:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![uturuncoglu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/uturuncoglu/32/1530_2.png) [@uturuncoglu](https://discourse.paraview.org/u/uturuncoglu)
#### Post date: [July 2, 2025, 9:33pm UTC](https://discourse.paraview.org/t/render-multiple-views-with-single-catalyst-python-script/16891/1 "2025-07-02T21:33:50Z")

</div>

Hi,

I wonder if there is a way to output all the render views with Catalyst. In my case, I have four panel but the Catalyst Python script is only processing the one of them. Of course, I could create four different script and render each one of them one by one but if there is a possibility that would be eaiser.

---

<div class="post-metadata">

### Author: ![uturuncoglu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/uturuncoglu/32/1530_2.png) [@uturuncoglu](https://discourse.paraview.org/u/uturuncoglu)
#### Post date: [July 3, 2025, 3:59pm UTC](https://discourse.paraview.org/t/render-multiple-views-with-single-catalyst-python-script/16891/2 "2025-07-03T15:59:18Z")

</div>

Okay. I could able to merge them externally using following shell script.

```auto
lst=`ls -al RenderView1_*.png | awk '{print $9}'`
for i in $lst
do
  echo $r1 $r2 $r3 $r4
  r1=$i
  r2=${i/RenderView1/RenderView2}  
  r3=${i/RenderView1/RenderView3}  
  r4=${i/RenderView1/RenderView4}  
  convert $r1 $r2 -append left.png
  convert $r3 $r4 -append right.png
  convert left.png right.png +append ${r1/RenderView1/Merged}
  rm left.png right.png
done

```

---

<div class="post-metadata">

### Author: ![Jeff\_Lee](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/8797f3/32.png) [@Jeff\_Lee](https://discourse.paraview.org/u/Jeff_Lee)
#### Post date: [July 10, 2026, 2:43pm UTC](https://discourse.paraview.org/t/render-multiple-views-with-single-catalyst-python-script/16891/3 "2026-07-10T14:43:40Z")

</div>

```auto
pNG1 = CreateExtractor('PNG', renderView1, registrationName='PNG1')
pNG1.Writer.FileName = 'View1_{timestep:06d}.png'
pNG1.Writer.ImageResolution = [1920, 1080]

pNG2 = CreateExtractor('PNG', renderView2, registrationName='PNG2')
pNG2.Writer.FileName = 'View2_{timestep:06d}.png'
pNG2.Writer.ImageResolution = [1920, 1080]

# ...and the same for renderView3, renderView4

```
