Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: jaykay on October 02, 2009, 11:30:46 pm

Title: Automation for UML profile import
Post by: jaykay on October 02, 2009, 11:30:46 pm
Hello everybody,

I'm currently trying to use the EA automation interface to import XMIs (using ImportPackageXMI) and I wonder if I can automatically import UML profiles as well.

I can't seem to find any suitable method though...does anyone perhaps know how to do this?

Thanks in advance for your help!
Title: Re: Automation for UML profile import
Post by: KP on October 05, 2009, 08:58:50 am
Build an MDG Technology containing your profile and implement the EA_OnInitializeTechnologies broadcast handler.

HTH
Title: Re: Automation for UML profile import
Post by: RoyC on October 05, 2009, 10:15:28 am
Please note that in the Help the topic header and index entries for EA_OnInitializeTechnologies have a rogue underscore - EA_OnInitialize_Technologies. The text description of the event is correct.

I have changed the header and index entries in the Help, but unfortunately the change missed the release of build 849.