Cannot run iLogic rule through API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
In Inventor 2019 , when trying to run an iLogic rule through the API, iLogic cannot find the source of the *.vb it creates from the Rule in my Appdata\Local\Temp\iLogic Rules\ directory.
When the debugger hits 'RunRule(oDoc, "TestRule")', it tries to search for 'TestPart.ipt.TestRule.glue.vb' inside of Temp\iLogicRules\ although it just created 'TestPart.ipt.TestRule.vb' inside of that same directory. When I rename 'TestPart.ipt.TestRule.vb' into 'TestPart.ipt.TestRule.glue.vb', it runs through the first line of the rule, and then it asks again for the location of 'TestPart.ipt.TestRule.vb'.
I have no idea where this .glue. comes from. Although 'TestPart.ipt.TestRule.vb' is being generated, at the start it searches for 'TestPart.ipt.TestRule.glue.vb'.
I searched the internet and a couple of forums, but unfortunately I cannot find any post similar to this.
Anybody have an idea? Any help would be highly appreciated.
KR,
Tinus