FlexScript: How to inverse path in AGV Network?

FlexScript: How to inverse path in AGV Network?

jouky_d
Not applicable
48 Views
2 Replies
Message 1 of 3

FlexScript: How to inverse path in AGV Network?

jouky_d
Not applicable

[ FlexSim 23.2.3 ]

Hello everyone,

I need to reverse the path in flexscript. The same as this button does:
1717503809703.pngI know there is a way to put the path as Two Way path using setvarnum(path, "isTwoWay", 1), however, there is no variable to change the direction of the path.

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

arunTTT2P
Participant
Participant
Accepted solution

Hi

Object Path = Model.find("AGVNetwork/Path1");
function_s(Path,"switchDirection");
0 Likes
Message 3 of 3

jouky_d
Not applicable
Thank you:)
0 Likes