# Exporting multiple objects into one .vtkjs file

**URL:** https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297
**Category:** ParaView Support
**Tags:** vtkjs
**Created:** [November 7, 2025, 4:45pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297 "2025-11-07T16:45:57Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rensv](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rensv](https://discourse.paraview.org/u/rensv)
#### Post date: [November 7, 2025, 4:45pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/1 "2025-11-07T16:45:58Z")

</div>

Hi,

I’m curious if it is possible to export multiple objects into one .vtkjs file. Ideally, I would like to export CFD data with volume representation, along with the confining geometry as a .stl file with surface representation. I’d want to export this into one .html file, and use Glance to view both the CFD results and the geometry at the same time.

Thanks!

---

<div class="post-metadata">

### Author: ![rensv](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rensv](https://discourse.paraview.org/u/rensv)
#### Post date: [November 10, 2025, 1:25pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/2 "2025-11-10T13:25:05Z")

</div>

An example of the case can be as follows:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/3/0/30d11d060a9847310ddf0dbb5d851890b39ec994.jpeg)

I have a flow going through a narrow, then a wide, and then a narrow passage again. To visualize the case, the outer domain (ParaviewExample.stl) is clipped to show the inside of the domain. Inside the domain is CFD data, first converted to pointdata, resampled to image, clipped to show the high-velocity regions, and shown with the volume representation.

How can I export the clipped .stl file with surface representation and the clipped CFD volume representation into the same .vtkjs and .html file?

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: [November 10, 2025, 2:14pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/3 "2025-11-10T14:14:28Z")

</div>

File → ExportScene should do the trick.

---

<div class="post-metadata">

### Author: ![rensv](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rensv](https://discourse.paraview.org/u/rensv)
#### Post date: [November 10, 2025, 2:42pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/4 "2025-11-10T14:42:46Z")

</div>

Hi Mathieu, Thank you for your reply! This only seems to work when the CFD is visualized in surface representation:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/8/9/8976f49fa4bb344c8c589fe415c5c8d3cba72dbb.png)

When exporting the CFD data in volume representation along with the .stl in surface representation, I’m only seeing the .stl file in Glance:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/c/6/c64072186b73e339699ed13b353788a65c90f342.png)

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [November 10, 2025, 2:51pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/5 "2025-11-10T14:51:21Z")

</div>

Ah, yes, volume representations is not typically exportable to surface-based scene formats, unfortunately. While the .vtkjs format could theoretically support volume data exports, I don’t believe that it does.

---

<div class="post-metadata">

### Author: ![rensv](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/779978/32.png) [@rensv](https://discourse.paraview.org/u/rensv)
#### Post date: [November 10, 2025, 3:19pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/6 "2025-11-10T15:19:10Z")

</div>

Hi Cory, The weird thing is that, when I solely export the volume representation, it does work:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/4/c/4c7a9f9516db0dd27b0fd486c5a32e6eb73234a6.jpeg)

Altough, I can’t apply a clip filter to it, then it exports nothing again.

Should I conclude that it is the combination of a scene export of surface representation object, and a volume representation one, that is not possible?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [November 10, 2025, 3:29pm UTC](https://discourse.paraview.org/t/exporting-multiple-objects-into-one-vtkjs-file/17297/7 "2025-11-10T15:29:35Z")

</div>

It could be that some types of volume data, likely Image Data, are exported in volume representation, but not other types of volume data like unstructured grids with 3D cells.

> [@rensv](#):
>
> Should I conclude that it is the combination of a scene export of surface representation object, and a volume representation one, that is not possible?

That sounds like a bug.
