Hi all,
Is there a way to get how many AGVs exist on the path from tree information, etc.?
I searched but could not find it.
You can find which path a task executer on with the code below. But I don't think you can directly go the opposite way and find task executers on a given path.
treenode agvNode = AGV(Model.find("TaskExecuter1")); treenode travelSection = getsdtvalue(agvNode, "atTravelSection"); if(!travelSection) { travelSection = agvNode.find("/travelPath").first; } Object curPath = travelSection.value; return curPath;
You could look at the allocations of control points on that path, but the accurary will depend on the placement of the points, since they could be allocated before entering the path or still be allocated after leaving it.
For what purpose do you want to read this information? If you just need it for a few paths, you could use way points that increment/decrement a counter on Pre-Arrival of a task executer.
Thank you for the information.
This question was asked by a customer and should be asked for information from the customer.
Just knowing that the path detection required code was helpful.
Thank you.
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved