# Save Geometry function for a 1-step/time model

**URL:** https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295
**Category:** ParaView Support
**Created:** [March 29, 2024, 9:13am UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295 "2024-03-29T09:13:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [March 29, 2024, 9:13am UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/1 "2024-03-29T09:13:00Z")

</div>

I want to export the model for ParaViewWeb. The model has **only one step (time)**. I am using `File --> Save Geometry...` in the GUI, or `WriteAnimationGeometry` in the Python Shell.  
As a result, one PVD file is created, and also 10 sets of VTM and VTP files for 10 dummy steps with the same data. The resulting file structure for my model is shown in the figure.  
The question is how to export a 1-step/time model so that only one set of files is obtained, without dummy data?

 ![pw-question](https://discourse.paraview.org/uploads/default/original/2X/c/c7027db5cb2f42803b78442cbe6874f19dbccf37.png)

---

<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 29, 2024, 12:23pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/2 "2024-03-29T12:23:21Z")

</div>

> [@Andrei](#):
>
> I want to export the model for ParaViewWeb.

You problably want to use File → SaveScene then.

---

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [March 29, 2024, 2:31pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/3 "2024-03-29T14:31:33Z")

</div>

Our web server needs VTP files.  
The model has a vtkMultiBlockDataSet hierarchy.  
When I export a file using `Export Scene`, it seems that only one block of data is saved.  
At the same time, `Save Geometry` saves all blocks with all solution results (as shown in the above picture: solid, shell, more shell, beam)  
The `Save Geometry` function solves my problem, but exports the necessary data 10 times in a row, which slows down the work

---

<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 29, 2024, 2:33pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/4 "2024-03-29T14:33:57Z")

</div>

> [@Andrei](#):
>
> but exports the necessary data 10 times in a row, which slows down the work

Looks like you need to disable animation ? In any case I’m unable to reproduce your issue. Please share exact steps to reproduce.

---

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [March 29, 2024, 4:37pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/5 "2024-03-29T16:37:42Z")

</div>

Here’s an example model. It has only one step/time of results. It was created using ZSoil FEA geotechnical software. Next I use the `Save Geometry` function without any other post-processing  
[Sample.zip](https://discourse.paraview.org/uploads/short-url/hbZ5Y2HpjR7V9G1f5xZhJHqwiTH.zip) (3.5 MB)

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [March 31, 2024, 10:39pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/6 "2024-03-31T22:39:10Z")

</div>

![Screenshot 2024-03-31 at 16.37.53](https://discourse.paraview.org/uploads/default/original/2X/3/3cf6b150560e7223b20dae6b1773bff54faa4ab4.jpeg)

The right view is the saved data as vtp from the extract surface filter.

---

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [April 1, 2024, 1:54pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/7 "2024-04-01T13:54:04Z")

</div>

Thank you! What function did you use to get the VTP file? `Export Scene`? I tried to reproduce and check the VTP file using an online service [vtk.js](https://kitware.github.io/vtk-js/examples/GeometryViewer.html). But not successfully yet (results are not displayed, even displacements)

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [April 1, 2024, 4:17pm UTC](https://discourse.paraview.org/t/save-geometry-function-for-a-1-step-time-model/14295/8 "2024-04-01T16:17:50Z")

</div>

Just did “Save Dataset” and picked the vtp format when selecting the Extract Surface filter.

[all.vtp](https://discourse.paraview.org/uploads/short-url/p9sOFn5ME7mS2IXuxYzYdbezb0a.vtp) (198.8 KB)

 ![Screenshot 2024-04-01 at 10.17.00](https://discourse.paraview.org/uploads/default/original/2X/e/e6a3a1ec24a24506b3240b0ca19f39ee1db5c707.jpeg)
