Author Topic: shape script help  (Read 2144 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
shape script help
« on: March 11, 2014, 07:58:59 pm »
Hi
I have an MDG with a use case stereotype that defines the following shape script
Code: [Select]
hape main
{
      if(HasProperty('rectanglenotation','0'))
      {
            setfillcolor(255,192,203);
            drawnativeshape();
      }
      else
      {
            // code for rectangular representation
            // e.g. Rectangle or DrawNativeShape
            //drawnativeshape();
            setfillcolor(255,255,255);
            drawnativeshape();
      }
}
This does display the use case in the coded color, however I am not able to change the 'Use Rectangle Notation' as it is greyed out.
Does anyone know why this might be?

Thanks
Using V12

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: shape script help
« Reply #1 on: March 11, 2014, 10:49:49 pm »
Uhm, didn't I post in a similar thread that it does not work on UseCase and Actor, but only on Class, Action and Activity?

q.