1
Automation Interface, Add-Ins and Tools / Re: how to change default apperance for MDG stereotypes
« on: July 25, 2025, 10:12:22 am »I downloaded the Lieber c4 model from Sparx websiteCiao Fausto,
I tried to change the appearance of some stereotypes changing the attribute cx, cy and bgcolor inside the XML file before loading into EA
Changed cx and cy are taken into account but the bgcolor change don't work
I weant only to change the default appearance when the stereotype is created living the user the option to modify
thanks for your answer.
Fausto
The usual reason for this behaviour is that the shapescript contains a statement overriding the "default" value shown in the XML file.
Remember the definition of "default" is: "In the absence of a countervailing instruction, do this...". Unfortunately, the shapescript - hidden in the base64 encoding - contains that "countervailing instruction". It would appear the shapescript doesn't have an override for the cx and cy values.
HTH,
Paolo