I have created an "addin" to monitor the "SAVE" & "NEW" button press on Inventor.
What is the possibility of AutoDesk including this feature to the next release, or better still, creating a "patch" so that inventor can be upgraded to do it automatically, without the need to write an "addin"?
For Example,
If the user presses the "SAVE" button, AutoDesk Inventor would automatically look to see if a macro called "OnSave" exists. If it does, it "runs" the macro, if it does not exist, it works exactly as Inventor does now. This also would work in a similar way when pressing the "NEW" button.
Does anybody agree that this would be a good feature to add???
AutoDesk, can you please comment on my request?
Many thanks in advance!!!!
IsoCAM
I'm pretty sure that this feature was just removed in 2014. All versions up until then could do this. You have to put the "On Save" macro inside the document module.
I'm assuming they intend on iLogic replacing that type of function. Just set the rule to run on save and put it inside your template part. Alternatively you can have the ilogic rule auto-run and call up your macro. Not the nicest way but it will work in 2014 and onwards (as far as i know).
Regards, Matt.
Brian Edkins, from Autodesk stated that users should not use the macros associated with documents.
The modification that I am proposing will be "hard coded" into AutoDesk Inventor's software so that it looks for the macros whenever the "SAVE" or "NEW" buttons are pressed.
Can anybody,from Autodesk, state if this could be either incorporated in new releases or as a patch.
If it can be done as a "software patch" I will be willing to pay for the patch as it will save me creating a addinfor inventor!
Looking forward to your reply!!!
Regards
IsoCAM
Hi isocam,
1. In the past, auto macro is one alternative which does not need an addin. However, as matt_jlt mentioned, 2014 broke the support. The auto macro will not work now. The reason we broke is because the auto macro can severely impact Inventor performance, and pose a possible security risk.
2. The suggested alternative to auto macros is an add-in. Add-ins don't have the performance and security issues of auto macros and provide much better source control.
3. The last is iLogic trigger event. You just need to convert your code to iLogic, select the event you want to monitor. When the relevant events are invoked, the iLogic is fired. This is the best way for your requirement.