Hi there,
I have an ilogic rule which i only need to run when commanded to, as it was created to generate a bunch of drawings and may overwrite things that I have been working on.
The problem I have is that whenever I edit the rule, to save the changes I have to click 'OK' or click 'Cancel' then 'Yes' to save changes. Either way, the rule automatically runs.
Is there a way to stop this? If not, I thought about using a Yes/No message box which says "Are you sure you want to run this rule?" but I don't know how to write the code. In the long run I want to make an input form for the rule but I am currently only using 2011.
A way around the problem would be to only edit the code, outside of Inventor but I need a better solution as I want to be able to pass this code onto my collegues for them to use.
Thanks,
Wayne
In the iLogic editor for this rule, go to the Options tab at the top. Check the option for Suppressed. When the rule is suppressed, the icon in the iLogic browser will be gray, but you can still run the rule manually by right-clicking the rule in the browser and choosing "Run Rule".
Hi cwhetten,
I have tried this method and it works for internal document rules but for external rules (which are what I need to use), suppressing through the options will make it so that the rule does not run automatically upon closing the rule editor for the first time around but when I return to the editor, the supression box is unchecked.
Wayne