Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: lostwald on May 15, 2014, 08:05:39 pm

Title: new Element, TaggedValues of MDG Technology missin
Post by: lostwald 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
Title: Re: new Element, TaggedValues of MDG Technology mi
Post by: qwerty 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.
Title: Re: new Element, TaggedValues of MDG Technology mi
Post by: lostwald 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
Title: Re: new Element, TaggedValues of MDG Technology mi
Post by: qwerty 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.
Title: Re: new Element, TaggedValues of MDG Technology mi
Post by: lostwald 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
Title: Re: new Element, TaggedValues of MDG Technology mi
Post by: qwerty 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.