- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I've come across some strange behavior in iLogic that I need a work-around for.
I have a vaulted External Rules folder which contains several iLogic rules, along with sub-folders containing several more rules. Only the top level External Rules folder is added in the iLogic Configuration Directories menu.
The below function will run an external rule no matter where it is in the external rules directory (even if it's in a sub-folder). This behaves as I would expect.
iLogicVb.RunExternalRule("ruleFileName")
If I want to run the exact same function with a NameValueMap, the external rule MUST be directly under the top level external rules directory. If it is saved in a sub-folder the function cannot find the rule. WHY?
Dim map As Inventor.NameValueMap = ThisApplication.TransientObjects.CreateNameValueMap() map.Add("Arg1", "Arg1Value")
iLogicVb.RunExternalRule("ruleFileName", map)
The only alternative I see is to add all the sub-folders to the iLogic Configuration Directories Menu as well. This will not work for us because we have 30+ users that would be required to map all these folders exactly the same way. Most of our users have zero Inventor knowledge and are simply using a highly automated version (hence the iLogic).
Any help in finding an alternative would be greatly appreciated!
Thanks!
Solved! Go to Solution.