question

Kyle Y avatar image
0 Likes"
Kyle Y asked Joshua S converted comment to answer

create connection btw CP and queue by flexscipt

how to create connection btw CP and a queue by flexscript? Thank you.

FlexSim 19.0.0
cp
5 |100000

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

1 Answer

John avatar image
1 Like"
John answered

connection CP and a TaskExecuter

function_s(cp,"addConnection",-1,TaskExecuter)

connection CP and a queue

contextdragconnection(Model.find("Queue1"),Model.find("ControlPoint3"),"A")

· 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.

Kyle Y avatar image Kyle Y commented ·

Thank you John. is it possible to delete the connection by flexscript? thank you

0 Likes 0 ·
John avatar image John Kyle Y commented ·

contextdragconnection(Model.find("Queue1"),Model.find("ControlPoint3"),"Q")

1 Like 1 ·
Kyle Y avatar image Kyle Y John commented ·

haha, thank you!

1 Like 1 ·