Page 1 of 1

How to use the SETTING> comand to get the Initial Time

Posted: Fri Mar 08, 2013 3:35 pm
by Paul Anim
Hi All,

I am using vensim version 5.10e dll in visual basic. How do i use the Vensim SETTING> command to get the Initial Time and the Final Time and also how to set a new value for both the Initial Time and the Final Time.

Thanks.

Re: How to use the SETTING> comand to get the Initial Time

Posted: Fri Mar 08, 2013 5:49 pm
by Administrator
Use vensim_get_val to get initial and final time values.

To set them, use vensim_command, the command should be "SIMULATE>SETVAL|INITIAL TIME = 999"

Re: How to use the SETTING> comand to get the Initial Time

Posted: Sat Mar 09, 2013 3:11 pm
by Paul Anim
thanks a lot. it worked