Cancel
Showing results for 
Search instead for 
Did you mean: 

Self calling a method when the simulation stops

Pioneer
Pioneer

Hi forum

 

How can i assign a method to self call itself when the simulation ends.

 

Thanks & Regards,

ABHIRATH

2 REPLIES

Re: Self calling a method when the simulation stops

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
you could rename your method to endSim. Then the eventController will call this method after the simulation ends (at the end time you set in the EventController).


If you want to start the method every time the simulation stops, you could try an observer method for the attribute isRunning of the EventController (EventController - Tools - Edit Observers...)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Self calling a method when the simulation stops

Pioneer
Pioneer
Thank you Steffen Smiley Happy