Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MeryemAdb on August 22, 2014, 10:32:35 pm

Title: MDG Diagram Profiles
Post by: MeryemAdb on August 22, 2014, 10:32:35 pm
I have created diagram profiles in a MDG, but I'd like to rename some diagrams. Is it possible to also modify my existing diagrams so that they have the renamed MetaType?

I have created a simple AddIn to change the stereotypes of connectors and elements, so I could use it to upgrade the diagrams but diagrams MetaType are read-only. Is there an alternate way?
Title: Re: MDG Diagram Profiles
Post by: qwerty on August 22, 2014, 10:45:27 pm
If you look into t_diagram you notice that the StyleEx contains something like MDGDgm=<...>;. I guess when changing that value it should fix the issue.

q.
Title: Re: MDG Diagram Profiles
Post by: MeryemAdb on August 22, 2014, 11:00:24 pm
That seems a great idea. I don't have time to test it right away, but I will definitely try it and tell you if it works.