MODTABLE
MODTABLE
Hi. I'm trying to use vensim DLL to control the model on my java application. I am wondering how can I control a lookup table using dll. I want the function something like MODTABLE in Venapp. If anyone could help to answer this, I would really appreciate it. Thanks.
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
You can also use a VECTOR LOOKUP on an array of constants in place of the lookup, and set the constant values from your application.
Tom
Tom
/*
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
*/
As I recall, that's tough, because of limitations in passing window handles. The documentation states, "generally references to windows just won't work" - I don't know if there are any exceptions. I think you'd have to work in C or VB to take advantage of the tool commands.
Tom
Tom
/*
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
*/