How to modify the custom code of queue output panel?

How to modify the custom code of queue output panel?

j08j
Not applicable
61 Views
2 Replies
Message 1 of 3

How to modify the custom code of queue output panel?

j08j
Not applicable

[ FlexSim 24.0.2 ]

I want to modify the custom code of queue output panel "Use Transport".screenshot-2024-04-11-at-35427-pm.png

There is my code:screenshot-2024-04-11-at-35405-pm.png

It can only checked the box of "Use Transport", but it still maintains the default settings "current.centerObjects[1]".

How can I deal with this problem?

Thanks.

0 Likes
Accepted solutions (1)
62 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

Where did you get "UseTransport.TransportResource" as a property name from? The actual property name would be "TransportRef" (as you can see in a property table), though using that also doesn't work, since setting this property toggles the node to not be flexscript anymore.

Use Queue.setVariable("transportdispatcher", ...) instead.

1712834746651.png

0 Likes
Message 3 of 3

j08j
Not applicable

Thanks for your reply and help!

0 Likes