ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Accessing to tracked variables from dll
Hi guys, how can I access the tracked variables from C++ dll? I mean I've seen that there is any prototyping for the FlexScript commands settrackedvariable and gettrackedvariable and there is any other way to set or to get the value from this kind of variables, or is there any other workaround?
Thank You very much in advance for Your support. |
#2
|
||||
|
||||
Starting in FlexSim 2016 you can use the set() and get() commands, accessing the nodes directly. If the trackedvariable() command isn't available, you can get the path: node("/Tools/TrackedVariables/TrackedVariable1", model())
|
The Following 3 Users Say Thank You to Anthony Johnson For This Useful Post: | ||
Sebastian Hemmann (05-12-2016) |
Thread | Thread Starter | Forum | Replies | Last Post |
Show tracked variable as average value | Sebastian Hemmann | Q&A | 4 | 01-14-2014 10:55 AM |
Accessing TrafficControl object from travelers | Cristian Ramirez | Q&A | 2 | 06-12-2013 06:13 AM |
Tracked Variables, Time in System usage | Peppino | Q&A | 4 | 06-26-2012 10:25 AM |
Accessing Data of a Recorder and Referencing Nodes in the Tree | Jan Brandau | Q&A | 5 | 04-22-2008 07:05 AM |
GUI & linked variables | Iulian Marin Ion | Q&A | 2 | 11-27-2007 10:23 PM |