Hello, I have a model where in source I am creating 1 part example 'A'. For 'A' I am assigning quantity as 4 for this 4 part I need to create different label as 1 ,2,3,4 how can I do that in source.
Hello, I have a model where in source I am creating 1 part example 'A'. For 'A' I am assigning quantity as 4 for this 4 part I need to create different label as 1 ,2,3,4 how can I do that in source.
Hi @mary, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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.
In the 3d source you have to (in the general case) create one row for each item if you want to assign different labels to them.
If you create the items in a process flow, you can use the "tokenIndex" parameter to first assign the label to the token and then copy it to the created item later.
If the quantity is the same for each row of the arrival schedule you could assign the label as a function of the source's output statistic.
Or you can use custom code and labels to keep track of the number of created items and reset it every time the row in the schedule changes (the row is available as a parameter in the OnCreation trigger).
convert a number value into a string and concatenate this with another string.
string.fromNum(...)
string ab = "a" + "b";
string flexscript class in manual
https://docs.flexsim.com/en/20.0/Reference/CodingInFlexSim/FlexScriptAPIReference/Basic/string.html
15 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