Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Pelikano on August 08, 2012, 08:18:00 pm
-
I would like tot set a line color in a shape script. I can fill a object with setfillcolor, set a style whtih setlinestyle and I hoped to set the line color with SetLineColor :-?
Or how can I set a line color for a Stereotype?
-
It's SetPenColor.
Btw: using (left-CTRL)+space in the shape editor produces a dropdown of valid commands,
regards,
Paulus
-
Thx, it works! I'm even more happy with (left-CTRL)+space! Why is this tip not in the help of the shape editor... ::)
-
I have just added a reference in the Drawing Methods topic for Shape Scripts. However, the Shape Script editor is based on the Common Code editor, which applies the Intellisense feature. Ctrl + Space is documented in both the Code Editor Key Bindings topic and the Intellisense topic, amongst others.