Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: elr on November 05, 2024, 05:53:27 am
-
Hi,
With MDG, I set up in my toolbox a stereotype of Association metaclass called ""Is Associated To".
That works fine but.. as it is default connector and I have many of these in my diagrams, I'd like to lighten it by hiding stereotype label.
In shape script editor for my new stereotype, I tried
shape main
{
print("");
}
that hides the line and not the label. And :
shape main
{
moveto(0,0);
lineto(100,100);
print("");
}
that brings back a no more clickable line !?!?
Does someone has any clue to control connector label or where to look for ? Thank you !
Eric
-
Hello Eric,
Please search for the 'showlabel' in the EA help. You can specify which labels are shown and which are not.
HTH,
-
Thx Takeshi ! showlabel is documented into https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_frameworks/drawing_methods.html (https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_frameworks/drawing_methods.html)
That's exactly infos I was looking for to better control shape edition.
Meanwhile, I just found :
shape middlebottomlabel{}
in qwerty's book !
:)