Message 1 of 5
Flexscript to remove an AGV from a network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a larger model that I am working on. I need to remove an AGV from a path so that it can be ignored by other AGVs for a specific condition. Then I need to add the AGV back on the path so that it can be recognized again. I think I have the code right to remove the AGV but when I try to add it back, it does not seem to work
code to remove: token.AGV.as(Object).setProperty("Navigator",NULL);
code to add back: function_s(Model.find("ControlPoint2"),"addConnection",-1,token.AGV);