1
Automation Interface, Add-Ins and Tools / Custom stereotype in MDG seems to show inherited ShapeScript
« on: July 26, 2018, 12:01:53 am »
I have created a tailored MDG based on ArchiMate, and have replaced all of the ShapeScripts on the elements. (I used Geert's library - thanks, Geert!)
It has worked perfectly for most elements, including Business, Application and Technology elements, as I have not needed to change decorations.
I have now got around to customising decorations for some extended elements (such as Objective derived from Goal, and Organisation derived from Business Actor), and am running into an issue.
When I put in custom ShapeScript on these elements, the shapescript seems to be duplicated on top of the standard ArchiMate ShapeScript.
Anything I draw seems to be overlaid.
In fact, if I remove everything from the custom ShapeScript (which should just draw an empty shape), it still draws the standard ArchiMate shape that I extended, including the decoration, colour and main shape. It cannot therefore be anything in the new ShapeScript.
Any idea why these elements would be displaying inherited ShapeScript overlaid with any new ShapeScript, and what I can do about it?
Appreciate it.
Pieter.
It has worked perfectly for most elements, including Business, Application and Technology elements, as I have not needed to change decorations.
I have now got around to customising decorations for some extended elements (such as Objective derived from Goal, and Organisation derived from Business Actor), and am running into an issue.
When I put in custom ShapeScript on these elements, the shapescript seems to be duplicated on top of the standard ArchiMate ShapeScript.
Anything I draw seems to be overlaid.
In fact, if I remove everything from the custom ShapeScript (which should just draw an empty shape), it still draws the standard ArchiMate shape that I extended, including the decoration, colour and main shape. It cannot therefore be anything in the new ShapeScript.
Any idea why these elements would be displaying inherited ShapeScript overlaid with any new ShapeScript, and what I can do about it?
Appreciate it.
Pieter.