Hello, I want to assign the current state of the operator (ex: 1, 2, 3 ... ) as a label using assign label, how can I do this?
Hello, I want to assign the current state of the operator (ex: 1, 2, 3 ... ) as a label using assign label, how can I do this?
And what object/token do you want to assign the label to?
I mean the representation of status in numbers form such as "Idle == 1". I will add a new label to assign a helper operator to the token which has PersonelID label.
token.PersonelID.helper
Hi @Kadircan T, was one of Jason Lightfoot's or Felix Möhlmann's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
You can read the status of a fixed resource or task executer with the following expression:
// Get state number object.stats.state(profileNum).value // Get state name object.stats.state(profileNum).valueString
object is a reference to the object you want to read the state from. The profileNum of the default state profile is 0 (you can also leave the argument blank in that case).
Are you asking about the state of the helper in order to determine if they can help? You can acquire the helper explicitly so don't need to check if they are idle.
Model attached with the code from your other post to have the helper travel to the same location and with helper labels added to each operator.
15 People are following this question.
Documentation of STATE values for different FR types.
Keep a staff member occupied after patient exits model
Custom Wait Times for Different Activity per Resource Type
How can I display an Operator's Average Processing Time in Hours/Week?
Custom States don't work, Custom State Profile doesn't get recognized
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