Author Topic: how to import_file with specified dump files  (Read 649 times)


  • Newbie
  • *
  • Posts: 33
how to import_file with specified dump files
« on: February 25, 2018, 07:32:53 AM »
Hello everyone,

Is there a way to import only the dump files that I want?

I know combining 'wildcard character' and 'multiple_frames' option would allow OVITO to import multiple frames as follows:
Code: [Select]
import_file("dump.200.*",  multiple_frames = True)
However, let's say one has dump files called dump.0000, dump.0001, dump.0002, dump.0003.
And one only wants OVITO to import all the frames only in dump.0000 and dump.0001, excluding dump.0002 and dump.0003.

If anyone has encountered a problem like this and figured out how to do so,
please share your solution.


Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 638
Re: how to import_file with specified dump files
« Reply #1 on: February 27, 2018, 09:27:54 AM »
Hi Kevin,

I don't think that this can be done with any of the current program versions. You need to live with the fact that OVITO will read in all the files in the series.

But I like the idea and agree that, in general, this would be a useful feature that would bring additional flexibility. I added a corresponding feature request to the GitLab project and hope to find some time to implement this extension in the future: