Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: ssands on November 05, 2014, 07:11:46 am
-
Hi all,
We would like to create a custom stereotype for part so that it looks like a component (that is, a sub-component). We want the little component symbol to show in the upper right like it does for components (but this would be a Part).
Does anyone know where I can find an image file to that symbol? I had hoped it would be in Sparx somewhere, but searching the directory structure did not turn it up.
Thanks in advance!
-
Try creating a shape script for the stereotype like this:
decoration component
{
orientation="NE";
rectangle(0,0,60,100);
rectangle(-10,10,10,30);
rectangle(-10,50,10,70);
}
-
Thank you! I'll try it out and repor back.
-
Perfect! Thanks again!