# Is it possible to reload vtkjs file into paraview ?

**URL:** https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853
**Category:** ParaView Support
**Created:** [November 24, 2022, 11:50am UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853 "2022-11-24T11:50:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nennigb](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nennigb/32/10468_2.png) [@nennigb](https://discourse.paraview.org/u/nennigb)
#### Post date: [November 24, 2022, 11:50am UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853/1 "2022-11-24T11:50:10Z")

</div>

I have some vtkjs files that I have created outside paraview that I would like to reload into paraview.  
I know that I can export a scene from paraview to vtjs format, but is it possible to do the opposite ?  
If not, is it hard to recast it into other vtk format ?

Thanks,  
Benoit

linux, paraview 5.10

---

<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: [December 1, 2022, 4:11pm UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853/2 "2022-12-01T16:11:07Z")

</div>

We don’t technically have the reverse path, but it would be possible to create a JS application that will write/extract the polydata as vtp files.

---

<div class="post-metadata">

### Author: ![nennigb](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nennigb/32/10468_2.png) [@nennigb](https://discourse.paraview.org/u/nennigb)
#### Post date: [December 2, 2022, 9:32am UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853/3 "2022-12-02T09:32:14Z")

</div>

Thanks for your answer. It could be a nice feature. I will export my composite data in vtm (multiblock) format or in vtp format using vtkAppendPolyData but it merge them. Is there a better way ?

---

<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: [December 2, 2022, 3:52pm UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853/4 "2022-12-02T15:52:56Z")

</div>

You don’t need to merge them, but the export will extract only the surface mesh so you will lose any 3D cells of an unstructured grid.

---

<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: [December 2, 2022, 3:54pm UTC](https://discourse.paraview.org/t/is-it-possible-to-reload-vtkjs-file-into-paraview/10853/5 "2022-12-02T15:54:06Z")

</div>

Feel free to add an issue/feature-request on vtk.js to have a simple example saving the mesh of a vtkjs file.
