# Run save state pvsm with different computers

**URL:** https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469
**Category:** ParaView Support
**Created:** [April 15, 2025, 9:12am UTC](https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469 "2025-04-15T09:12:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rtg65](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rtg65/32/16319_2.png) [@Rtg65](https://discourse.paraview.org/u/Rtg65)
#### Post date: [April 15, 2025, 9:12am UTC](https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469/1 "2025-04-15T09:12:00Z")

</div>

Hello,

I’m a beginner on paraview, I don’t necessarily know all the features.

My project on paraview is to import an stl, as well as a csv format table (X,Y,Z coordinates as well as several physical variables). The csv evolved into TableToPoint and then into Delaunay 2D. All physical variables have their own custom color, built into my version of paraview.

By doing a py via pvpython, I don’t have a problem to do these steps, and screenshoots of all the physical variables with a specific camera position.

The data is then sent to the client, no worries about screenshots, but I would like the client to be able to interact with the data via a pvsm file. The problem comes from the pvsm file not saving the stl and data, but will look for the path of the files. This makes this function impossible for a customer who wants to open the file directly, without spending time troubleshooting issues.

If I try to make a “save data” in several formats, by opening paraview again, I only have the stl.

Is there a way to make a save to keep the stl, data, and custom colors working on any computer?

Thank you in advance,

Rtg65

---

<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: [April 15, 2025, 9:13am UTC](https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469/2 "2025-04-15T09:13:32Z")

</div>

Use `File -> ExportScene`, either vtkjs + glance or gltf.

---

<div class="post-metadata">

### Author: ![Rtg65](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rtg65/32/16319_2.png) [@Rtg65](https://discourse.paraview.org/u/Rtg65)
#### Post date: [April 16, 2025, 7:21am UTC](https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469/3 "2025-04-16T07:21:31Z")

</div>

Thank you for your quick answer.

I tested both solutions. Vtkjs + glance fails to display custom colors (json file imported into paraview). Gltf allows me to open the scene but I only have the physical variable that was displayed during the save.

Looking more closely at the content of the pvsm file, I saw that you can change the data paths, to relative paths. If the stl and csv are in the same folder as the pvsm, we can open and load the data. I need to make a macro that changes the paths after the creation of the pvsm.

---

<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: [April 16, 2025, 8:24am UTC](https://discourse.paraview.org/t/run-save-state-pvsm-with-different-computers/16469/4 "2025-04-16T08:24:32Z")

</div>

> [@Rtg65](#):
>
> Vtkjs + glance fails to display custom colors (json file imported into paraview).

Works here, dont import the json file in ParaView, view the html file in a browser instead.

> ltf allows me to open the scene but I only have the physical variable that was displayed during the save.

Indeed, needs vtkjs format for that

> If the stl and csv are in the same folder as the pvsm, we can open and load the data. I need to make a macro that changes the paths after the creation of the pvsm.

Sure you can create an archive and do that.
