one file to merge them all

Hi there,
thanks for the job.
I work with features, stored as unstructured grid (+there data). Is it possible to store each feature on its own single file, and have a “main vtk file” that list them all ?

that would give me a folder with files like :

  • feature1.vtk
  • feature2.vtk

and a main file with links to these (sub-)files ?

I hope I am clear enough.
thanks for your time
Ch.

Can you clarify which data do you want to separate and what you mean by “feature” ?

typically, I track bubbles in volumes. Each bubble is a feature, described with a mesh, a label, and possibly other data. I would like to be able to have a file per bubble, and being able to create a collection of bubbles in a file by “just” managing a list of links. That way the data won’t be copied many time, and it could be very fast to rearrange the collection.
Moreover, I would be able to manage additional data for bubble in a csv file, instead of copying the data for each node of the mesh (very expensive in term of memory).

Sounds like a typical composite dataset.

You can store it in a .vtm, a .vtpdc or a .vtkhdf, lots of possibilities :slight_smile:

OK, I found a previous post of yours : About inlined multiblock and partitioned dataset XML data format

RTFM… many thanks.
I was stuck in the vtkLegacy format, I have to evolve !