Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.


@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