I built a HyperTreeGrid with vtk and would like to import a set of htg files in time; however, htg files doesn’t seem to support the same .series extension as other files and while vtkXMLHyperTreeGridWriter has a WriteNextTime method, it crashes when I try to write a time aware htg
writer = vtkXMLHyperTreeGridWriter()
writer.SetInputData(htg)
writer.SetFileName(‘simple_jet.htg’)
writer.SetDataModeToBinary()
writer.SetWriteTimeValue(True)
writer.SetNumberOfTimeSteps(2)
writer.SetDebug(True)
writer.Start()
writer.WriteNextTime(0.01)
writer.WriteNextTime(0.02)
writer.Stop()