Book a Demo

Author Topic: Additive Attributes or TVs  (Read 3898 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Additive Attributes or TVs
« on: October 20, 2014, 09:51:54 pm »
Has anyone got a way to make some EA Attributes additive? For example, if I give each Use Case a 'points' (tagged) value, I'd like to give the 'Work Package' element which implements those use cases another Tagged Value, which is the simple sum of all the points values of the Use Cases it realizes?
A bit of a fiddle to setup, but seems really useful: then EA could make sure that the derived value is always up-to-date, and it become easily printable. Should be good for lots of other values, especially in the SysML world, where you're dealing with numeric values quite a lot.
Probably best done with a Script, but I can't quite see what the trigger would be? Has anyone done this already ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Additive Attributes or TVs
« Reply #1 on: October 20, 2014, 11:06:11 pm »
There are events for tagged values as well
  • EA_OnAttributeTagEdit
  • EA_OnConnectorTagEdit
  • EA_OnElementTagEdit
  • EA_OnMethodTagEdit
You could use those to keep your derived values up to date.

Geert