Book a Demo

Author Topic: GUID of existing model element  (Read 2867 times)

Thomas_Arnbjerg

  • EA User
  • **
  • Posts: 80
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
GUID of existing model element
« on: July 02, 2010, 08:39:44 pm »
Hi all.

I'm doing an MDA transformation and would like to hook some of the generated elements to existing elements. How do I obtain the GUID for an existing model element?

Example:
Generalization
{
   %TRANSFORM_REFERENCE("MyGeneratedClassGeneralization",classGUID)%

      Source
      {
            %TRANSFORM_REFERENCE("MyGeneratedClass",classGUID)%      
      }
      
      Target
      {
            <Here i need to reference an existing class - but how??
      }
}


Thanks.

Thomas :o

Thomas_Arnbjerg

  • EA User
  • **
  • Posts: 80
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: GUID of existing model element
« Reply #1 on: July 02, 2010, 09:11:49 pm »
I found it in the 'Properties' view when the element is selected. :)