I have several external rules that I use on a regular basis and I have one lets say master external rule that runs all other external rules to save time.
However is it possible to create some kind of user form to ask to run all rules or select certain rules if only one is required to run either via check box or list box or radio button.
I am using inventor 2011 and as we know the new user form creator in 2012 is not available in this version so I am after a work around until we eventually upgrade our software.
Any feed back on this would be appreciated
Solved! Go to Solution.
Solved! by PaulMunford. See the answer in context.
It is possible to build your own form in .net and then hook it up to your iLogic rules. However, to be quite honest, unless you are a .net whizz this could be quite laborius and painful.
Unless you are desperate, I would wait for 2012!
I thought that would be the answer I am in the process of doing a vb.net course however not that advanced enough to figure out how to link my user form to a class .dll then back to ilogic rule.And I cannot find any reference on internet how this achieved.
When I get more experiance I will figure it out .
Thanks for your response
If you want to get a quick and dirty idea on how you could manoeuver external iLogic rules through VBA, attached is a sample part file that can help you make the first steps without being a proficient guru in VBA or VB.NET.
It will run all or some of your external rules. So I think I answered your first two questions.
Unfortunately I would not know how to interrupt a running iLogic rule.
If you want to use this in another ipt, simply load the VBA project called ExternalRules.ivb in the VBA editor.
The rule names are strict and have to be called Rule 1.txt, Rule 2.txt and Rule 3.txt to make the code work.
For your solution this is a good work around until i get good enough on vb .net.but as last solution there is a very good explanation on how to write the dll in vb.net by David Reaume on the AU university site and i have managed to achieve this on his tutorial.
Just in process of trying to link me own user form to all my external rules.
Many thanks for your help