Hi,
Is it possible to get a string variable value from a VDF file via the DLL?
Thanks
Getting a string from a VDF
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Getting a string from a VDF
No. I'm not sure they are even stored in the VDF (I'm re-working the format at the moment and haven't come across any string storage at all).
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: Getting a string from a VDF
Hi,
They are there, see the attached VPM file with three VDF files loaded. Refer to the variable SAMPLE STRING VARIABLE.
I am using string variables to store additional run information. It would be great to be able to get the information back into Excel via the DLL. It would also be an issue if it is no longer possible to use this functionality.
Best wishes
Sion
They are there, see the attached VPM file with three VDF files loaded. Refer to the variable SAMPLE STRING VARIABLE.
I am using string variables to store additional run information. It would be great to be able to get the information back into Excel via the DLL. It would also be an issue if it is no longer possible to use this functionality.
Best wishes
Sion
- Attachments
-
- StringTest.vpm
- SAMPLE STRING VARIABLE hold the strings
- (34.99 KiB) Downloaded 257 times
Re: Getting a string from a VDF
Could you encode the string information as numbers, or are they ad hoc and numerous?
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Getting a string from a VDF
Hi Tom,
Sadly it is ad hoc information, for example a text description of a particular scenario.
Best wishes
Sion
Sadly it is ad hoc information, for example a text description of a particular scenario.
Best wishes
Sion
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Getting a string from a VDF
I should be able to add a new function to the DLL to retrieve the string variables. Just need to find the correct place in the code.
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
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Getting a string from a VDF
It should be available in the next release of Vensim.
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: Getting a string from a VDF
That is fantastic! Thanks
Re: Getting a string from a VDF
Hi,
Is this functionality planned to be in the December release of Vensim 6.4E?
Thanks
Sion
Is this functionality planned to be in the December release of Vensim 6.4E?
Thanks
Sion
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Getting a string from a VDF
Yes.
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