Hello.
How can I create a label (by using a source on creation trigger) that assigns a bigger number each time an item is created? For example, item 1 gets label value of 1, item 2 gets label value of 3, item 3 gets label value of 3, etc.
Thanks!
Hello.
How can I create a label (by using a source on creation trigger) that assigns a bigger number each time an item is created? For example, item 1 gets label value of 1, item 2 gets label value of 3, item 3 gets label value of 3, etc.
Thanks!
Here's an example of how you could do it. I added a "counter" label to the source and then use a couple of the OnCreation pickoptions to first increment the counter label and then assign that value to a label on the item.
In this case, you could actually scrap the counter label and just set a label on the item equal to getoutput(current) + 1, since the source keeps track of how many things have left it.
4 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