Label transform

All topics specific to modeling questions in Enterprise Dynamics
Post Reply
Steven
Posts: 13
Joined: Wednesday 06 March, 2013 - 19:16

Label transform

Post by Steven »

I would like to transform the label of an atom when it moves through the multitransform.
This can be done using a singletransform, I know but the label value varies from 1 to 25.

How can i use the multitransform atom to reduce the label value with 1 when the product passes this atom.
If it's not possible with the multitransform any other atome is fine as well .
As long as it performs the function labelvalue -1 when it passes

Thanks !
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Label transform

Post by marlies »

Hi Steven,

You can do this in any trigger on entry or trigger on exit of any atom in your model. Just use the following code:

Code: Select all

Label([mylabel], i) := Label([mylabel], i) - 1
Where the text mylabel should be replaced by the labelname of the label you want to update. The parameter i is a reference to the product that passes the atom.

Regards, Marlies
Post Reply