n the readme for Inventor 2014... I see this information:
Inventor 2014 removes support for VBA auto-run macros which are embedded in Inventor documents. These VBA macros are named: “AutoOpen”, “AutoNew”, “AutoSave”, “AutoClose” and “AutoEdit”. They can severely impact Inventor performance and pose a possible security risk. The suggested alternative to auto-run macros is to create an Inventor add-in.
I guess this is the reason that my macro (that uses Autosave) does not work any longer. This is a real deal breaker for 2014 for me. This macro is in EVERY idw that I create and it must work. It has been working since Inventor R5.3. The suggestion given is to create an Inventor Add-in. I dont have clue how to convert this to an Inventor add-in.
Any takers on converting it for me? Attached is the code.
Thanks
Hi,
This DevBlog post has an example that seems similar. Maybe you could update it to do what you need.
You would just need to get your code working in the event callback. I could do this for you if you don't have or don't want to use Visual Studio.
This post could also be helpful:
http://modthemachine.typepad.com/my_weblog/2008/10/converting-vba-auto-macros-to-an-add-in.html
Thanks,
Wayne
Hi,
Do you have a VB.Net quickfix/new version for the "AddIn_with_Saved_Events" if you want to run it on Inventor2015 ?
NB: Thanks for the possibilty to download the event!
Claus
Hi all,
I've created a new opensource project which enable these functionalities, you can find it at this link.
As you can see this project is valid only for Inventor 2015.
Within few days I will create a new project for the release 2014.
Bregs
Rossano Praderi