I have a problem, but cannot find any solution for this on the internet. I created a simulation modell and add an 'endSim' method which saves the file and exit the application. I tested the method and it is working, but when I want to open my file the endSim method starts immediatly and exits the application and I'm not able to do anything.
Is there a way to open Plant Simulation and the model file without executing any method, or is there a way to stop this before closing the application?
I hope you can help me without saying I have to start an older version of my model.
PS: I am working with Plant Simulation 11 TR 3.
Solved! Go to Solution.
just press <Shift>+<Ctrl>+<Alt> short before the model is loaded.
This should open the debugger where you can stop the exection of the method.
The function saveModel accepts up to 3 parameters. If you set parameter 2 to true, the method execution will be stopped after loading the model: