Clock Reset

All topics specific to modeling questions in Enterprise Dynamics
Post Reply
Eggbert
Posts: 9
Joined: Wednesday 23 May, 2012 - 12:38

Clock Reset

Post by Eggbert »

Hi its my again,

is it possible to reset the simulation-clock without resetting the whole simulation?

regards,
Eggbert
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Clock Reset

Post by marlies »

Hi Eggbert,

I assume that you want to influence the digital/analog clock that show the time in hh:mm:ss format? These clocks show the time as BaseTime + the simulation time. On reset the basetime is standard set to "now" which is the current system time. You can influence the basetime by using the atom ShowDateTime which you can find in the category Time. With this atom you can define your own basetime.

You can also use 4Dscript to update the basetime. Example:

Code: Select all

basetime := DateStr([13/06/2012], [/], [dd/mm/yyyy])
This will set the basetime to 13/06/2012 00:00.

The basetime is the only time you can update without resetting.

Regards, Marlies
Post Reply