Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: golen on July 24, 2009, 09:57:21 pm
-
Hi
I have a problem with adding taggedValues. No errors but no effect too. What do I do wrong :-?
for each p in e.Packages
call p.Element.TaggedValues.AddNew("test", "")
call p.Element.Update()
next
-
I did it - if someone had the same problem, the solution is below
Dim tv as EA.TaggedValue
for each p in e.Packages
Set tv = p.Element.TaggedValues.AddNew("test", "test")
tv.Update
next