Search code examples
backupanylogic

Get an older version of your model back Anylogic


I've a question, I made some change in my model and probably did something wrong, but now every time I open my model, it crashes when I want to open something and I need to close anylogic.. So now I want to open an older version of the model, so that I can work further without having to use a backup of one week ago, is anylogic automaticaly saving some older copies of my model or not? If so where can i find these older versions.

Or is there a way to solve this problem. I deleted the type of the arraylist LiftpleinenPeds collection, and now everytime I click on the collection to change this, the whole anylogic crashes. I only need to change it in the main java to add node as shown in the image, but I am not able to modify something there?

enter image description here


Solution

  • You can open the AnyLogic file the '.alp' file inside any text editor. You can make your changes there (but be careful) and rather make a backup before you do this.

    You can literally build your entire model in text mode if you want to ;-)