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 !
Label transform
Re: Label transform
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:
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
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
Regards, Marlies