Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ADucci on March 25, 2014, 09:25:17 pm

Title: Set Element Colour on UML Profile
Post by: ADucci on March 25, 2014, 09:25:17 pm
I have created a UML Profile, and on that profile, have extended a normal class meta-type with a new stereotype.

I have set the background colour of my new stereotype element and exported the profile as per:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/standard_uml_models/importingprofiles.html instructions

This does not seem to work as expected, the new elements color is unchanged and when looking at the profile.xml file, I see that the bgcolor property is "-1"  indicating that the colour attribute did not pull through.

Is this an EA Bug, or have I just done something wrong.

Thanks
Anthony
Title: Re: Set Element Colour on UML Profile
Post by: qwerty on March 25, 2014, 09:35:35 pm
Shape information is only exported if you export the diagram rather than the package as profile. Maybe that is your issue?

q.
Title: Re: Set Element Colour on UML Profile
Post by: ADucci on March 26, 2014, 05:45:49 pm
Problem Solved (as per EA support guys)

I was using the color palette on the toolbar to define the color,

I should have selected the element -> Appearance --> Default Appearance  to change the color.

Thanks.