Page 1 of 1
How to enter a run name in edit box for a simulation
Posted: Fri Jun 10, 2011 10:07 am
by Paul Anim
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
Re: How to enter a run name in edit box for a simulation
Posted: Fri Jun 10, 2011 1:17 pm
by Administrator
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.
Re: How to enter a run name in edit box for a simulation
Posted: Tue Jun 28, 2011 2:30 pm
by Paul Anim
great that works
thanks

Re: How to enter a run name in edit box for a simulation
Posted: Sun Apr 17, 2016 9:31 pm
by ene.hsBO
Hello,
is this possible now?
I have seen some Sable Projects were do you write the Runname in a EditBox.
Kind regards
Re: How to enter a run name in edit box for a simulation
Posted: Mon Apr 18, 2016 9:28 am
by Administrator
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?
Re: How to enter a run name in edit box for a simulation
Posted: Wed Apr 20, 2016 9:39 am
by ene.hsBO
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!
Re: How to enter a run name in edit box for a simulation
Posted: Wed Apr 20, 2016 6:31 pm
by Administrator
Does SIMULATE>RUNNAME|? do what you need? It displays the standard windows file open dialog.