Hi
I am new to vensim and sable. I am designing an interface in sable and I have added a button and an edit box. What i want to do is that I want to enter the run name in the edit box and when i click on the button, the simulation is run and the text in the edit box is saved as the run name.
I also want to be able to save more than one run name.
I want to be able to view the number of runs (dataset) so that I can remove some later.
Thanks
How to enter a run name in edit box for a simulation
Moderator: Administrator
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to enter a run name in edit box for a simulation
You cannot actually do that. But if you create a button with the venapp command
SIMULATE>RUNNAME|?
that will allow you to select the runname.
Now in a static text box, enter the text @runname@ it it will display what you have chosen as the run name.
Hope this helps.
Tony.
SIMULATE>RUNNAME|?
that will allow you to select the runname.
Now in a static text box, enter the text @runname@ it it will display what you have chosen as the run name.
Hope this helps.
Tony.
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 enter a run name in edit box for a simulation
great that works
thanks![Very Happy :D](./images/smilies/icon_biggrin.gif)
thanks
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Re: How to enter a run name in edit box for a simulation
Hello,
is this possible now?
I have seen some Sable Projects were do you write the Runname in a EditBox.
Kind regards
is this possible now?
I have seen some Sable Projects were do you write the Runname in a EditBox.
Kind regards
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to enter a run name in edit box for a simulation
There is not a straightforward way to type a name into an editbox.
Do you have an example of a project where it is done?
Do you have an example of a project where it is done?
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 enter a run name in edit box for a simulation
Sorry, i mixed up something. It was a Modell written with VENAPP.
But.. how i can open a Dialogscreen to edit Runname (the VDF File were it saved)?. I have seen this in Modell called "C-Roads"
https://www.climateinteractive.org/tool ... -download/
Again, thanks for help!
But.. how i can open a Dialogscreen to edit Runname (the VDF File were it saved)?. I have seen this in Modell called "C-Roads"
https://www.climateinteractive.org/tool ... -download/
Again, thanks for help!
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to enter a run name in edit box for a simulation
Does SIMULATE>RUNNAME|? do what you need? It displays the standard windows file open dialog.
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