Hi
Could someone perhaps help me out with some VB code to auto export a parts list in .idw to some excel file when saving the idw. Also code to export the BOM automatically from a .iam file. Currently I am doing it with an iLogic rule and event trigger, but copying the rules all over the place or using external rules is not really the ideal.....especially because you have to create the iTrigger for every new project.
Thanks in advance.
Reginald
Hi Reginald,
Some info on creating an AddIn:
Then you just have to subscribe to the OnSave event:
http://modthemachine.typepad.com/my_weblog/2008/10/converting-vba-auto-macros-to-an-add-in.html
In the event handler you can export the PartsList to Excel using PartsList.Export()
Cheers,