question

Leo L6 avatar image
0 Likes"
Leo L6 asked Jason Lightfoot edited

Get object connected to control point in code

Hi,

I was wondering how I can get the object (queue, processor, etc) that is connected to an agv network control point via code.

Thanks in advance

FlexSim 22.0.16
agvnetworkcontrol point
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited
Object cp=Model.find("ControlPoint1");
Object firstObject=AGV.Connections(cp,"Location")[1];

For reference AGV.Connections

5 |100000

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