question

Wang Z2 avatar image
0 Likes"
Wang Z2 asked Joerg Vogel answered

code to set two way path

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!

FlexSim 18.2.3
codeagv pathspaths
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

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?

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Wang Z2 commented

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.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Wang Z2 avatar image Wang Z2 commented ·

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

0 Likes 0 ·
15506437751.jpg (9.2 KiB)
Joerg Vogel avatar image Joerg Vogel Wang Z2 commented ·

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 0 ·
Wang Z2 avatar image Wang Z2 Joerg Vogel commented ·

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

1 Like 1 ·