question

Ron H7 avatar image
0 Likes"
Ron H7 asked JustinP edited

Exception caught in saveoperation: Cannot save

I am unable to save my work, and get an "Unsuccessful Save Operation" error window. Any guidance would be appreciated. This has happened a few ther times, but my first post seeking advice on it.

FlexSim 20.0.2
save error
· 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.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered JustinP edited

It's possible there's some node that's corrupted and can't be saved. You could try running this script to see if any of the nodes in the tree can't be saved. From the Debug menu at the top of the screen open the Output Console and then drag it so that it undocks. Now open the Debug console. Paste this code into the debug console and then push the green run button.

  1. forobjecttreeunder(model()) {
  2. treenode obj = a;
  3. print(obj);
  4. savebyname(obj, "test.t");
  5. }

If you get an error at one of the nodes you might be able to look at the Output console and see what node it was just trying to save.

· 3
5 |100000

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