Author Topic: new Element, TaggedValues of MDG Technology missin  (Read 4704 times)

lostwald

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
new Element, TaggedValues of MDG Technology missin
« on: May 15, 2014, 08:05:39 pm »
Hi,

when I create a operation of stereotype runnable with the EA UI some taggedValues are added. These taggedValues are specified in a MDG Technology. However, when I create a operation of stereotype runnable per AddIn (component.Methods.AddNew(..,..) ) the tagged Values are missing.

How can I create a runnable with the taggedValues of the MDG Technology ?

(EA 10, C#)

Kind regards,
lostwald

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: new Element, TaggedValues of MDG Technology mi
« Reply #1 on: May 15, 2014, 08:49:35 pm »
There was a recent thread about creating methods from the API and tagged values. Try to search also for "sync" in combination with "MDG".

q.

lostwald

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: new Element, TaggedValues of MDG Technology mi
« Reply #2 on: May 16, 2014, 10:43:02 pm »
Hi,

no I couldn't find a thread with information to fix the problem. Sync in combination with MDG is also a dead end.

The last thing I tried was the method Repository.SynchProfile(), without any effect...

kind regards,
lostwald

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: new Element, TaggedValues of MDG Technology mi
« Reply #3 on: May 16, 2014, 11:04:59 pm »
Yep, You couldn't find it that way. I meant this one: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1398805743/9#9

So you should probably update to V11.

q.
« Last Edit: May 16, 2014, 11:05:19 pm by qwerty »

lostwald

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: new Element, TaggedValues of MDG Technology mi
« Reply #4 on: May 16, 2014, 11:46:20 pm »
Hi,

I have the same issue with V11.
The post you are referring is about connectors. Is the problem definetly fixed in V11, or is it just fixed for stereotyped connectors not for stereotyped EA.Methods ?

If not the only solution would be to parse the MDG Technologies .xml file and apply the taggedValues by code ?  :(

kind regards,
lostwald

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: new Element, TaggedValues of MDG Technology mi
« Reply #5 on: May 17, 2014, 01:51:35 am »
Can you tell me which operation from which MDG you use? I'd run a test if I knew both.

q.