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.
How to use the SETTING> comand to get the Initial Time
-
- Super Administrator
- Posts: 4832
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to use the SETTING> comand to get the Initial Time
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"
To set them, use vensim_command, the command should be "SIMULATE>SETVAL|INITIAL TIME = 999"
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: How to use the SETTING> comand to get the Initial Time
thanks a lot. it worked