Hey Raja,
You can do it with stopobject() and resumeobject(). "Allocated idle" is state 29.
I've attached a small sample model. I entered the following code in the OnEntry trigger of a processor:
stopobject(centerobject(current, 1), 29);
And this is the code I put in the OnExit trigger:
resumeobject(centerobject(current, 1));
Hey Raja,
I asked a similar question and got an answer here. If you're using process flow, one method is to create a custom task sequence to set the operator state, then insert a custom code to free operators. Let me know if you have trouble with that other post I linked.
Thank you for your reply. In my model, I have not used the Process flow. Is there any other solution to set operator state as allocated idle in my model?
you can simply use the setstate() command but be careful, if the operator is currently doing another task it might overwrite your state.
6 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