How can I get the control point where my task-executor is currently at

How can I get the control point where my task-executor is currently at

jkhedekar
Enthusiast Enthusiast
138 Views
3 Replies
Message 1 of 4

How can I get the control point where my task-executor is currently at

jkhedekar
Enthusiast
Enthusiast

[ FlexSim 23.0.15 ]

I would like to change the control point max allocation of the control point where the AGV is currently standing at and change it back to 1 once it moves away from it. How can I achieve this?
I was considering flexscript would provide me way to get the control point where the task executor is at and use that to increase its max allocation number. Is it possible?

0 Likes
Accepted solutions (1)
139 Views
3 Replies
Replies (3)
Message 2 of 4

jason_lightfootVL7B4
Autodesk
Autodesk

This seems odd - what are you trying to do?

0 Likes
Message 3 of 4

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Try this:

AGV agv=AGV(Model.find("TaskExecuter1"));
return agv.currentCP;
0 Likes
Message 4 of 4

Valencia
Not applicable

Hello there

To modify the maximum deployment of your task executor and find its current control point; I hope these steps helpful for you

  • Track the AGV current control point with flex script.
  • To boost this control point maximum allocation while the AGV is in place; write a program.
  • Create a condition that; after the AGV goes away; will reset the maximum allocation back to 1.


0 Likes