Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: csousa on September 11, 2013, 07:38:24 am
-
Does anyone know if it is possible to add shape scripts on top of elements that are defined as part of an MDG?
Example: "I want to convey a tagged value within an Archimate Work Package"
I know how to do this with stereotypes that we control directly but I am unsure about MDG elements.
-
Not sure I understand your question. But shape scripts are a usual way to modify the shape of stereotyped elements through MDG. If you extend a shape scripted element by your own MDG then your shape script should be taken instead of the base MDG. (I have never done it, but it seems logical.)
q.
-
Define a shape script as normal for a stereotyped element.
To preserve the existing shape you can call drawparentshape().