Hi. I want to modify the code inside MAIN:/project/exec/globals/nodefunctions/menucommands/File/openmodel and MAIN:/project/exec/globals/nodefunctions/menucommands/File/openrecentmodel. I did a replace of the node my the custom module.
I added the following line of code to openmodel and openrecentmodel.
int userresponse = msg(getapplicationtitle(), "Model was saved with module version ", 1);
If I open the model from the flexsim splash screen, open recent, or file -> open model. The code above gets executed.
If open my model by double clicking it from windows explorer or dragging the model to the flexsim.exe icon then the alert box does not pop up.
Does flexsim use openmodel and openrecentmodel when using the double click on a FSM file?