Write multiple timesteps for Multiblockdataset

Hello ,

how do i create a multiblock dataset with multiple timesteps/steps. I have looked at the documentation and API without any success.

I used the following example as basis [CompositeDataSet] https://lorensen.github.io/VTKExamples/site/Python/CompositeData/MultiBlockDataSet/)

The example shows how to create one, which works well. I would like to have multiple steps for the same, how do i do it.

Thanks in advance!

so solved it myself. Solution is to write a new file each time and paraview recognizes them as a sequence of time steps.

e.g
writer.SetName(“File_0.vtm”)
writer.Write()

writer.SetName("File_1.vtm")
writer.Write()