code to set two way path

code to set two way path

wang_z2
Not applicable
170 Views
5 Replies
Message 1 of 6

code to set two way path

wang_z2
Not applicable

[ FlexSim 18.2.3 ]

Hello!

I want to know if I can use the code to set up a two way path.

Now, I have created a lot of paths using code. If I change each path to a two way path, it will take a lot of time.

Thanks for your help!

0 Likes
Accepted solutions (1)
171 Views
5 Replies
Replies (5)
Message 2 of 6

joerg_vogel_HsH
Mentor
Mentor

You can try

contextdragconnection

with the parameter to delete the connection which you want to block. You do this as you would do it in the model by drawing a line from one network node to the other to deactivate the path direction.

0 Likes
Message 3 of 6

wang_z2
Not applicable

I don't quite understand what you mean.now I want to use code to driver instead of manually setting a two way path.

17437-15506437751.jpg

0 Likes
Message 4 of 6

joerg_vogel_HsH
Mentor
Mentor

You have a problem with my answer, because the answer belongs to the network node paths and not to AGV path system. You can prevent such faulty answer, if you are a bit more precise. You give only a little hint, that you want an answer for the AGV module, in your topics. That wasn’t enough for me to understand what you want.

0 Likes
Message 5 of 6

wang_z2
Not applicable

I'm so sorry,it’s my mistake.

Message 6 of 6

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Perhaps you find yourself the answer, if you explore the view structure of the quick properties panel of the AGV module. Phil Bobo describes how to open the view tree of the quick properties for the question: where to find the functions of the quick properties?

0 Likes