set process time using parameter table

set process time using parameter table

supportPHJ4A
Explorer Explorer
30 Views
1 Reply
Message 1 of 2

set process time using parameter table

supportPHJ4A
Explorer
Explorer

[ FlexSim 22.0.0 ]

Hello,

When I use parameter table to set process time,if the default time unit is hours(Or other non-seconds unit), time unit will automatically switches back to seconds.

parametertable.gif


Accepted solutions (1)
31 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

Setting the property through code overwrites the units of that property. However, you can also set the units of the property through code. Open the code of the On Set trigger and change

setProperty(propertyName, newValue)

to

setProperty(propertyName, [newValue, "hr"])

to set the units to hours.



Matthew Gillespie
FlexSim Software Developer