Author Topic: Tagged Value Inheritance  (Read 3852 times)

Vitek

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Tagged Value Inheritance
« on: October 14, 2009, 11:47:21 pm »
Is it possible to access inherited Tagged Values in Macros when generating code please?
When I try to get %attTag:"my_value"% on attribute I only get values which are set on this attribute but not values preset on attribute type.
Thank you very much for information.
Best regards
   Vitek

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Tagged Value Inheritance
« Reply #1 on: October 15, 2009, 02:24:58 pm »
The best I can suggest is EXEC_ADD_IN, I think attClassifierGUID is available.  If not you'll have to go from attGUID.

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Tagged Value Inheritance
« Reply #2 on: October 15, 2009, 05:41:30 pm »
Quote
The best I can suggest is EXEC_ADD_IN, I think attClassifierGUID is available.  If not you'll have to go from attGUID.

I second this. We are applying the same method to accomplish this.
You will have to create an addin in VB or C# and use the aforementioned EXEC_ADD_IN macro to call it by giving %attClassifierGUID% as a parameter.

There is no other way, actually.

Oliver

Vitek

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Tagged Value Inheritance
« Reply #3 on: October 15, 2009, 06:10:32 pm »
Thank you very much for suggestion.
Vitek