Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 17.2.5 ]
Hi, how do I get the taskexecutor flowitem to use the AStar Navigation?
Thanks
David
Solved! Go to Solution.
[ FlexSim 17.2.5 ]
Hi, how do I get the taskexecutor flowitem to use the AStar Navigation?
Thanks
David
Solved! Go to Solution.
I have added contextdragconnection(token.item,model().find("AStarNavigator"),"A") this. But is there a simpler way?
David
Unfortunately there is not AStar API object so you can't say something like AStar.addMember(token.item).
If you use the Create Object activity and set the Destination field to be the AStarNavigator object, the flowitem will be connected to AStar when it's created. (This works for NetworkNodes and AGV Control Points as well).
The other command you can use is addMember:
function_s(model().find("AStarNavigator"), "addMember", token.item);
There are also pick options in the Use Transport fields of 3D objects called AStar: Task Executer as Flowitem.
Thanks. In People Module, how does the people connect to the AStar when they are created?
David
If you look at the Inner Flow of the Create Person activity (right click the activity), you can see that it uses a Create Object activity where it specifically checks to see if the AStar Navigator exists and if so, connects the created person to it by creating the person in the AStarNavigator object.