Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Herman on May 13, 2004, 06:54:54 am
-
Hi
My EA-model contains tagged values for packages, but I'm not able to get these within my VB application using the automation interface. The help of EA says that only elements can contain tagged values. I'm sure that my packages also contain tagged values. Does anyone has a solution for this problem?
Greetings
Herman
-
The package object has an element property which *can* have tags, because it is an element. So, if p is your package object, p.element is where you can look for the tag(s)
For example:
dim p as ea.package
... get a p
dim el as ea.element
set e=p.element
...check for tags
HTH
Ian
-
Thanks for your reply, Ian. This was the solution I was looking for.
Herman