Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Mats Gejnevall on June 21, 2016, 09:33:51 pm

Title: RelatedElement and diagram properties
Post by: Mats Gejnevall on June 21, 2016, 09:33:51 pm
I cannot get "if(hasProperty("diagram.stereotype",""))" to work in a RelatedElement shape script. I want to have different compartments controlled from the stereotype of the diagram.

I works in main(), but not in RelatedElement ().  Bug or feature?

Any ideas?

Thanks
Mats
Title: Re: RelatedElement and diagram properties
Post by: qwerty on June 21, 2016, 10:16:02 pm
You mean that when used inside the shape main the hasProperty works, but inside shape RelatedElement it does not? If so, you shall send a bug report (link bottom right of this page).

q.