Book a Demo

Author Topic: Call add-in from another add-in  (Read 3034 times)

pauli

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Call add-in from another add-in
« on: June 19, 2009, 03:39:01 am »
I am writing an add-in in C# and need to perform the following from my add-in:

1) Find out which other add-ins are available (i.e. to do from my code the same as when selecting EA menu "Add-Ins / Manage Add-Ins"). Is this possible ?

2) Then I want to call a method (EA_MenuClick) in one of the other add-ins. To do this I want to retrieve the reference to the other add-in and then call it (i.e. Other_Addin_Ref.EA_MenuClick(...)) because I want to perform actions from my add-in on the other add-in, which are normally done by the user on a context menu. How do I get the references to the other add-ins ?

Pauli
« Last Edit: June 19, 2009, 03:42:43 am by pauli »