iLogic run / start Add-in

iLogic run / start Add-in

fabian.steinruck
Contributor Contributor
455 Views
2 Replies
Message 1 of 3

iLogic run / start Add-in

fabian.steinruck
Contributor
Contributor

Hello 

I have a created a big iLogic rule which helps us to automate some Workflows. 

 

The only thing where we are struggling is how can we execute an third party Inventor Add-in. 
We know the path, client ID etc. 

 

we have searched a bit but haven’t found a sample. 

Can someone please gave us an example on how to execute an Add-in through iLogic?

 

The Add-ins are already loaded and ready to go. 

 

0 Likes
Accepted solutions (1)
456 Views
2 Replies
Replies (2)
Message 2 of 3

jjstr8
Collaborator
Collaborator
Accepted solution

I don't know what the add-ins are doing, but I would assume that a ButtonDefinition for each function in the add-ins was created when the add-ins loaded.  You would look it up in Application.CommandManager.ControlDefinitions and call its Execute method.

0 Likes
Message 3 of 3

fabian.steinruck
Contributor
Contributor

thank you for the tip.

 

I found the solution after getting all CommandNames back from Inventor. 

In there i found the CommandName from the third Party Add-in to Execute.

0 Likes