# merge state files

**URL:** https://discourse.paraview.org/t/merge-state-files/9288
**Category:** ParaView Support
**Created:** [March 27, 2022, 3:59pm UTC](https://discourse.paraview.org/t/merge-state-files/9288 "2022-03-27T15:59:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Qutadah\_Rababah](https://discourse.paraview.org/user_avatar/discourse.paraview.org/qutadah_rababah/32/7033_2.png) [@Qutadah\_Rababah](https://discourse.paraview.org/u/Qutadah_Rababah)
#### Post date: [March 27, 2022, 3:59pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/1 "2022-03-27T15:59:43Z")

</div>

Is there a way to merge state files, so that you have one instead of multiples?

I want to be able to open them all at once in the same window with say multiple layouts already set for the multiple state files?

Thanks!

---

<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: [March 28, 2022, 12:49pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/2 "2022-03-28T12:49:45Z")

</div>

Hi @Qutadah_Rababah ,

Load both state files and save a new one.

Best,

---

<div class="post-metadata">

### Author: ![Qutadah\_Rababah](https://discourse.paraview.org/user_avatar/discourse.paraview.org/qutadah_rababah/32/7033_2.png) [@Qutadah\_Rababah](https://discourse.paraview.org/u/Qutadah_Rababah)
#### Post date: [March 28, 2022, 12:57pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/3 "2022-03-28T12:57:48Z")

</div>

I tried that, however the layouts from the first state file are gone and I have to make new ones, is there a way to preserve them? @mwestphal

---

<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: [March 28, 2022, 1:03pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/4 "2022-03-28T13:03:49Z")

</div>

Sounds like a bug, could you share simple state files for that ?

---

<div class="post-metadata">

### Author: ![Qutadah\_Rababah](https://discourse.paraview.org/user_avatar/discourse.paraview.org/qutadah_rababah/32/7033_2.png) [@Qutadah\_Rababah](https://discourse.paraview.org/u/Qutadah_Rababah)
#### Post date: [March 31, 2022, 1:15pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/5 "2022-03-31T13:15:53Z")

</div>

here are two state files, do you need the vtk and .foam files as well?

[contour.pvsm](https://discourse.paraview.org/uploads/short-url/sh59OTrQKwtwwpvATzc2e9NohiO.pvsm) (1.4 MB)  
[isovolumes.pvsm](https://discourse.paraview.org/uploads/short-url/lbVZWOIBZKJKXaLHvFDbEaY6X6P.pvsm) (381.6 KB)

---

<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: [March 31, 2022, 1:18pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/6 "2022-03-31T13:18:39Z")

</div>

> [@Qutadah\_Rababah](#):
>
> here are two state files, do you need the vtk and .foam files as well?

Yes please

---

<div class="post-metadata">

### Author: ![Qutadah\_Rababah](https://discourse.paraview.org/user_avatar/discourse.paraview.org/qutadah_rababah/32/7033_2.png) [@Qutadah\_Rababah](https://discourse.paraview.org/u/Qutadah_Rababah)
#### Post date: [March 31, 2022, 1:29pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/7 "2022-03-31T13:29:43Z")

</div>

> **[states](https://onedrive.live.com/redir?resid=A94F32DC70462C88%2171498&authkey=%21AFeDsqIY1wT6GuM&e=U7EDxC)**
>
> Folder

here, but they are large files, sorry i dont have any smaller… they also need some time till they are fully uploaded. Thanks.

---

<div class="post-metadata">

### Author: ![vavo01](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@vavo01](https://discourse.paraview.org/u/vavo01)
#### Post date: [April 28, 2023, 1:29pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/8 "2023-04-28T13:29:05Z")

</div>

I’ve the same issue.  
@mwestphal did you the bug investigation, yet?

---

<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: [May 2, 2023, 1:05pm UTC](https://discourse.paraview.org/t/merge-state-files/9288/9 "2023-05-02T13:05:46Z")

</div>

I did not, please share (simple) state files to reproduce the issue.
