Hi,
@Joerg Vogel ,
thank you for your answer. The example I sent uses the "onStartOfReplication" as the experimenter does not have an "onStartOfScenario" to be set before the replications are started to run. I believe that would solve the request, as the layout configuration could be done in that point of the execution flow, before each replication is loaded and reset, hence ensuring integrity of the model.
On a different attempt, I tried to call the layout configuration function during the onReset, but it also does not work.
The problem with external commands in this case is that it is not easily transferable to other users and it creates difficulties to keep all information in the same results file for output analysis (it is not impossible, just adds complexity to other users).
Any other suggestions I could try or that could make this work, please?
Thank you!