Author Topic: RelatedElement and diagram properties  (Read 3184 times)

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
RelatedElement and diagram properties
« 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

qwerty

  • EA Guru
  • *****
  • Posts: 13428
  • Karma: +390/-299
  • I'm no guru at all
    • View Profile
Re: RelatedElement and diagram properties
« Reply #1 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.