So the other day I set up an external rule and created an event trigger to run the rule on save. It worked great ... for a couple days, and then it just stopped working yesterday. I can still run the rule manually and it works fine, but it doesn't seem to run automatically anymore on file save. Yes, iLogic is set to Loaded / Automati in the add-ins panel.
Anyone have any ideas what's happening?
(on the iLogic rule attachment, remove .TXT from the end. I had to add that due to the board's rules about file types.)
Rusty
Huh. I'm not sure why it would do that to you. I tried it out and it seems to work as designed. The rule triggers before file save.
I tested it on 2014, for what it's worth (I don't have 2013). Any other strange observations / settings / symptoms? I'm stumped.
Cameron Whetten
Inventor 2012
The only odd thing about my Inventor installation is that I've got the Thread Modeler add-in from the App Exchange, and I've got MecSoft's VisualXPORT add-in as well. Both of those were installed before I set up the iLogic in the first place, though.
I've rebooted, restarted Inventor, everything. No idea what the problem is.
Rusty
Are you absolutely sure that the rule isn't running? Maybe it is, but the parameter value isn't updating, or maybe even the part mass isn't updating.
To see for sure if the rule is running, try adding this line to your rule:
MessageBox.Show("Rule triggered successfully, my friend.", "Weight Parameter Rule")
This will pop up a message box with an OK button. If so, you know the rule is running, if not, you know the rule hasn't been triggered properly.
Cameron Whetten
Inventor 2012
I can't fathom why that would stop working. Did you install any new Autodesk updates in the last couple of days? Any new applications? Any windows updates? Any other changes to your computer?
Is your external rules folder located on a network, or your local drive?
Try saving your external rule as .txt type instead of .iLogicVb type. Just a wild guess, but it's something to try...
Cameron Whetten
Inventor 2012
@cwhetten wrote:I can't fathom why that would stop working. Did you install any new Autodesk updates in the last couple of days? Any new applications? Any windows updates? Any other changes to your computer?
Is your external rules folder located on a network, or your local drive?
Try saving your external rule as .txt type instead of .iLogicVb type. Just a wild guess, but it's something to try...
Cameron Whetten
Inventor 2012
No new applications, no new updates from either microsoft or Autodesk. No hardware changes.
External rules are located on my local hard drive, in my workspace.
I'll try the .TXT extension instead of .iLogicVb. We'll see what happens, I guess ...
Rusty
Well, today it's working.
No changes made to anything. I didn't even shut down my workstation last night - I had it calculating a particularly lengthy toolpath, and just let it go after I went home for the day. Come in this morning, open up a file and save it ... and BOOM, I get a popup that tells me that the rule was run successfully.
No idea what happened or why, but I'm not going to complain about it too much!
Rusty
it makes me wonder if at some point the Event Triggers were turned off. If it ever happens again, check to make sure that this box is checked : http://i.imgur.com/8jd817a.png
This happens to me when I have a idw file open with the assembly/part (that has iLogic triggers.)
When I close the IDW, the triggers work again (inv2014)
Incidentally, it appears that this was a transient issue. I haven't had it pop up again since I posted about it last.
Rusty