Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paulus on September 21, 2012, 03:33:52 am

Title: Calling add-in from Learningcentre toolbox?!
Post by: Paulus on September 21, 2012, 03:33:52 am
According to the documentation this is possible (at least 9.3) but somehow i can't get this to work. I'm following the EA help doc EA.chm::/run_add_in_functions_from_task.htm

I have no trouble with the other types like opening views or a help file. Also no trouble defining and using add-in event handlers...  So i wonder if i am missing something. Has anybody been able to get this working?

Just in case this comes up: i -have- removed trailing spaces  ;)
Title: Re: Calling add-in from Learningcentre toolbox?!
Post by: Paulus on September 25, 2012, 05:51:17 am
Just for the record, I finally found the problem: i declared the function within the assembly but in another COM object...... duh!  :D

After moving the function to the class that i registered when deploying the add-in (as described in the help topic EA.chm::/deployingaddins.htm) EA was able to find it.