1
General Board / Automatically calculate attribute value
« on: June 12, 2013, 10:49:02 pm »
Hi,
I'm creating a profile with a custom Risk element. This custom Risk element has three attributes (that will show up as Tagged Values when modelling).
Two of the three attributes are numerical enumeration types. The value of the third attribute will be the product of Attribute 1 and Attribute 2.
Example:
Attribute 1 = 3
Attribute 2 = 5
Attribute 3 = 3 x 5
What I would like to know is whether there is a way that I can automatically calculate and update the value of Attribute 3 every time that either Attribute 1 or Attribute 2 changes?
Thanks,
Surel
I'm creating a profile with a custom Risk element. This custom Risk element has three attributes (that will show up as Tagged Values when modelling).
Two of the three attributes are numerical enumeration types. The value of the third attribute will be the product of Attribute 1 and Attribute 2.
Example:
Attribute 1 = 3
Attribute 2 = 5
Attribute 3 = 3 x 5
What I would like to know is whether there is a way that I can automatically calculate and update the value of Attribute 3 every time that either Attribute 1 or Attribute 2 changes?
Thanks,
Surel