So I'll be generating 100s of operator as objects in process flow using create object. I want all those people to follow for A* network to go to a certain location and then get destroyed. How can I achieve this?
So I'll be generating 100s of operator as objects in process flow using create object. I want all those people to follow for A* network to go to a certain location and then get destroyed. How can I achieve this?
Hi @Jay K9 ,
If you are using FlexSim's healthcare environment with an arrivals process flow and person flow using a "create patient/create person" activity, the created people automatically join the A star network. However, if you are using create object to create operators, you can still accomplish this by using this code:
contextdragconnection(token.person,Model.find("AStarNavigator"),"A");
This makes an A connection from the created person to the AStarNavigator which adds them to the network. Attached is a model demonstrating this. You may also find this post useful
14 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