03-06-2018
08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-06-2018
08:54 AM
@MechMachineMan wrote:
As an extra, to run VBA from iLogic, it looks something like this:
Dim invApp As Inventor.Application invApp = ThisApplication
'To implement, you almost certainly need to change the indices (values in brackets) to match your code. invApp.VBAProjects(1).InventorVBAComponents("AppEventController").InventorVBAMembers("StartEvent").Execute
From iLogic you can also just use this line to call a VBA macro
'call VBA Macro
InventorVb.RunMacro("ApplicationProject", "Module1", "MyMacro")
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com