Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Tehila1 on April 28, 2015, 08:21:36 pm
-
Shape Script expert is needed!
I would like to set color to a non-UML element, via shape script.
The following code draws the shape of parent of the non-UML element. e.g. Activity shape for the ArchiMate Service element
setfillcolor(255, 87, 87);
drawnativeshape();
I would like the shape to remain Service shape, but colored.
Any help would be highly appreciated!
-
Try DrawParentShape()
q.
-
Try DrawParentShape()
q.
Thanks.
Replacing drawnativeshape with DrawParentShape() indeed draws the derived shape, but without effect to the color definition.
Any ideas?
-
Report a bug (though it might be rejected for some reason). Alternatively draw a colored dot or something over the original rendering.
q.