a simple question i can't solve though; for doing simulation i can use both experiment manager and event controller.
i have write a method to save custom data but, when i use experiment manager, i need to save the data in a different type of folder and name so i need a code to understand when the experiment manager is running or not.
i've looked the whole methods but i wasn't able to find anything.
i've tried to use the user method of experiment manager but unfortunately is called just at the beginning and not at every experiment so it's useless.
Solved! Go to Solution.
the Eventcontroller has an attribute called "ExperimentManager". This attribute is void whenever the simulation is not run by an ExperimentManager. So you could set a statement like this in your write a method
if EventController.ExperimentManager/=void --your method end