Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 18.1.2 ]
Hi,
Are there any pointers on how to create a C++-toggled node that will execute a member function on a module object? I wanted to 'override' an eventfunction which is called through function_s so I created a C++ toggled node with contents
c->asObject(MyClassName)->MyMethodName();
but though FlexSim did not complain it did not call any C++ code either. I tried toggling the node as regular FlexScript and putting in a msg() to make sure it does get called. Any tips?
Solved! Go to Solution.