Choose Connection type using contextdragconnection

Choose Connection type using contextdragconnection

michel_torbey
Not applicable
70 Views
2 Replies
Message 1 of 3

Choose Connection type using contextdragconnection

michel_torbey
Not applicable

I am using the function "contextdragconnection" and I have three types of "Object two way" connection in the agv network I am using.

When I apply the function, a pop-up appears asking me to choose between the three type.

Is there a way to make the program automatically choose one of the three type by using a command?

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

jing_chen
Not applicable
Accepted solution

Hi @michel.torbey

Try this command: function_s(obj FromCP,"addConnection",int index,obj ToCP);

"index" is the index of connection types, -1 means "traveler agv"

Message 3 of 3

michel_torbey
Not applicable

Thank you for your help! it works well.

Best regards,

Michel

0 Likes