Hy,
is it possible to consume the OnAction with .NetApi? → If yes, where can I find the event.
Or is the vcActionContainer the same as IActionContainer?
Thx & Regards
Feature
Hy,
is it possible to consume the OnAction with .NetApi? → If yes, where can I find the event.
Or is the vcActionContainer the same as IActionContainer?
Thx & Regards
Feature
Hy,
I know its an old topic but still relevant…![]()
Could anybody tell me why OnAction is not triggered or what is missing here?
Thx & Regards
是的,它与 Python 脚本相关。
我在 Python 的 OnAction 中遇到了同样的问题。
我认为ISimAction.Execute()实际上没有做任何事情,它没有被实现。
而对于vcAction.send()、vcActionContainer.do()等等,要让它们执行任何操作,仿真必须正在运行,因为与信号类似,动作的执行会通过仿真事件队列进行调度和处理。
无论如何,动作系统是为了实现仿真逻辑和行为,因此只存在于 Python API 中。.NET API 并不用于仿真逻辑。
嗨@TSy,
我猜也是这样,因为尽管动作已成功添加到 ActionContainer 中,但它还是没能工作。![]()
有点可惜的是,API 无法正常工作,而通过 .NET 触发操作的能力本会是一个非常优雅的解决方案!
此致
您是本站第545320名访客 今日有0篇新文章/评论
网友评论
最新评论