question

Joel SL avatar image
0 Likes"
Joel SL asked Joel SL commented

Where can I find the autosave-file?

Hi everyone,

unfortunately my FlexSim-Version crashes sometimes. This wouldn't be a problem if the autosave-function would work properly, but it doesn't. It is enabled but I can't find the _autosave-version anywhere. I would be glad if somebody can help me.

Thanks

Joel

FlexSim 17.1.0
autosave
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

The auto-save file should be in the same directory as the standard model file. If you open up your Global Preferences (File > Global Preferences) and go to the Environment tab. Do you have the AutoSave check box checked, and how often is it saving? (The default option should be checked with 10 minutes as the default interval.)

2 Likes 2 ·
Joel SL avatar image Joel SL commented ·

Sorry, I should have made it more clear. I already tried to find it in the directory where the model file is located, but it's just not there. And yes, the auto-save function is checked and set to 10 minutes.

0 Likes 0 ·

1 Answer

·
Matt Long avatar image
3 Likes"
Matt Long answered Joel SL commented

Auto save files can be found in the same directory as the model file. The name will be ModelName_autosave.fsm.

If you're not seeing an auto save file with your model then FlexSim isn't able to perform an auto save. FlexSim can't save your model unless the model is in a reset state. So if you run your model and are always keeping it at a time > 0, the auto save will not occur.

· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joel SL avatar image Joel SL commented ·

Hm, I opened the model and did nothing else in FlexSim for more than one houer now and there still isn't an _autosave-file. I also tried to uncheck the option in the settings, restart FlexSim, check it again and restart again but without success. I only have an educational license, may this be the problem?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Joel SL commented ·

This code should save an autosave version of your model. Can you open your model, paste this code into a script console and execute it?

applicationcommand("executescripts", node("MAIN:/project/events/OnAutoSaveModel"));

Did that work?

2 Likes 2 ·
Joel SL avatar image Joel SL Matthew Gillespie ♦♦ commented ·

When I execute the code, it returns 0 but there is still no autosave-file.

Thanks for your help anyway.

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Joel SL commented ·
@Joel SL

Maybe you don't have permission to save in the folder you opened the model from?

1 Like 1 ·
Joel SL avatar image Joel SL Jacob Gillespie ♦ commented ·

I don't have admin rights on the laptop I'm working with, maybe this is the problem? But it's okay, I taught myself to use the auto increment save-function regularly ;-)

I appreciate your help anyway.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.