Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: qwerty on January 20, 2014, 12:08:29 am

Title: #istagged# in shape script
Post by: qwerty on January 20, 2014, 12:08:29 am
Does anybody know what this hash tag returns?

q.
Title: Re: #istagged# in shape script
Post by: KP on January 20, 2014, 09:55:18 am
Red triangles!

Code: [Select]
shape main
{
      if(hasproperty("istagged","true"))
      {
            setfillcolor(255,0,0);
            polygon(50,50,3,50,270);
      }
      else
      {
            drawnativeshape();
      }
}
Title: Re: #istagged# in shape script
Post by: qwerty on January 20, 2014, 05:35:59 pm
Strange encounters of the 3rd kind? I seemingly had forgotten about them :-) Looks like a useful feature.

Thanks,

q.