Book a Demo

Author Topic: TaggedValues  (Read 3741 times)

Gruffy

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
TaggedValues
« 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

Gruffy

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: TaggedValues
« Reply #1 on: October 06, 2009, 01:28:01 am »
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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: TaggedValues
« Reply #2 on: October 06, 2009, 07:50:13 am »
Quote
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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!