& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
[ FlexSim 19.0.0 ]
Hi,
I have a model with a path and control point. I strongly need just a Piece of code ( Not Process Flow Block) that helps me to Travel a Truck (or AGV) from control point 1 to control point 2.
please see the attached model. I need to Travel the Truck from Cp1 to Cp2 by "Command".
Thanks,
Solved! Go to Solution.
thanks,
But It's not Worked for me!
treenode ControlP = Model.find("CP2"); TaskSequence ts =TaskSequence.create(token.Train,0,0); ts.addTask(TASKTYPE_TRAVEL,ControlP,NULL); ts.dispatch();
Sure it does work! But only for the first TE, any other TE need an allocateable Control Point ahead.
thanks @Jörg Vogel for Response,
Now my problem is :
How can I make sure that the next code is activated after the truck arrives at its destination?
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved