Author Topic: Print tagged value with REFGUID in shape scripts  (Read 2068 times)

Michael Proske

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Print tagged value with REFGUID in shape scripts
« on: July 27, 2010, 11:57:15 pm »
Hello
I want to print tagged values in shape script. script look like the following

shape main
{
      rectangle(0,0,100,100);
 
      addsubshape("domaincompartment", 100, 33);
      addsubshape("orgcompartment", 100, 33);
      addsubshape("usercompartment",100,34);
      shape orgcompartment
       {
               h_align = "center";
                   v_align = "center";
                   moveto(0,0);
                   lineto(100,0);
               printwrapped("#TAG:SIARC::Organization#");
       }

       shape domaincompartment
       {
                   v_align = "center";
               h_align = "center";
               println("#TAG:SIARC::Domain#");
       }
       shape usercompartment
       {
                   v_align = "center";
               h_align = "center";
                   moveto(0,0);
                   lineto(100,0);
               println("#TAG:SIARC::Users#");          
       }
}

SIARC is a technology name. Everything works fine for Users and Domain. But Organisation is empty. The definition is

Type=RefGUID;
Values=Class;
Stereotypes=BMM_OrganizationUnit;

Is this a bug or is something wrong.

Michael
« Last Edit: July 27, 2010, 11:57:45 pm by mproske »