Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ceronimo on June 09, 2016, 05:17:10 pm
-
Hi i have a Default class with my stereotype (Picture in the right Corner) (natvive shape + my Image in the right Corner).
the Stereotype is visible (text <<TestStereotype>> .
How can i Change the visibility of it to false?
if(HasProperty("stereotype", "TestStereotype"))
{
something like TestStereotype.Visible=false; ???????????
}
at the end i want to see my native shape with my Image and nothing else !
Thank you all for your help
-
Hi Ceronimo,
Unfortunately, AFAIK you can't remove the stereotype display on a per-object basis. You can do it on a per-diagram basis via the Diagram Properties dialog Elements page.
I, too, would like to be able to do that. Please put in a feature request.
Paolo
-
Bad, thank you for the fast answer !
-
I don't know if that is what you need, but if you have that condition you can call DrawNativeShape() to get the base shape.
q.