Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Gruffy on October 06, 2009, 01:21:24 am
-
Hi there!
I am currently developing an Add-In for EA and we are using TaggedValues for defining own properties on things. For the "Element" this is fine and we can get the values out. But, in EA you can actually define a TaggedValue onto a Package (which we wanna do...) but I cannot find any way to get this out in my Add-In. Seems like the "TaggedValues" collection is not exported in the Interop DLL???
Any help on how I can get to the TaggedValues on a Package?
Best regards
Gruffy
-
Ahhh...I have been looking for this some time...and it seems like the only thing I needed to do was to post here....then I found it. :-[
Anyhow, I will answer myself in case someone else is looking for this. There is a corresponding "Element" for each package that is used to retrieve these things. So something like this does it:
mypackage.Element.TaggedValues
/Gruffy
-
Ahhh...I have been looking for this some time...and it seems like the only thing I needed to do was to post here....then I found it. :-[[size=18]...[/size]
/Gruffy
I've had this experience too... ;)
It's one of the side benefits of a strong user base! They help even when they haven't yet responded! 8-)
Keep Contributing... :)
Paolo