Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: avantol13-2 on October 21, 2014, 05:30:30 am

Title: Calling built-in EA operations within Add-in
Post by: avantol13-2 on October 21, 2014, 05:30:30 am
How does one call "Code Engineering - Generate Code..." on the currently selected element from within an add-in? Is this even possible or do you have to access those operations from directly inside EA?

Thanks!
Alex
Title: Re: Calling built-in EA operations within Add-in
Post by: qwerty on October 21, 2014, 07:07:05 am
Reporistory.GetTreeSelectedObject
ProjectInterface.generateClass

q.
Title: Re: Calling built-in EA operations within Add-in
Post by: avantol13-2 on October 21, 2014, 11:10:32 pm
Awesome. Thanks q.