Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Sunshine on September 24, 2024, 05:31:51 am

Title: MDG to Extend ArchiMate
Post by: Sunshine on September 24, 2024, 05:31:51 am
Since 2008 we developed and updated our own ArchiMate MDG which defined stereotypes with shape scripts and tagged values, connectors, diagrams and toolboxes etc. When Sparx Enterprise Architect started to support ArchiMate some time later we changed our ArchiMate MDG to redefine ArchiMate elements so we could utilise the shape scripts. Our objective now is to just add tagged values the ArchiMate elements however, we are hitting a few sticking points and seeking advice from the forum members.

Title: Re: MDG to Extend ArchiMate
Post by: Eve on September 24, 2024, 08:34:58 am
1. If you've created the redefinition then you need to set your technology as active so that it's used when you try to create the original stereotype.

Specialize > Technologies > Manage Technology

2. Yes, those properties need to be added to a metaclass that is being extended. That's a little trickier when extending another profile but you've found the way to do it.
Title: Re: MDG to Extend ArchiMate
Post by: Geert Bellekens on September 24, 2024, 03:28:37 pm
1. If you've created the redefinition then you need to set your technology as active so that it's used when you try to create the original stereotype.

Specialize > Technologies > Manage Technology

The problematic part about this is that this is an option stored in the personal settings.
Even worse, when the MDG is stored in a model, and you open up another model (that doesn't have this MDG) EA forgets the "Active technology" setting.

We solved that by executing a script on loading a model to set the active technology (in the registry)

Geert