I would like to repeat labels according to an index global variable:
Part 1 - Lot 1
Part 2 - Lot 1
Part 3 - Lot 1
Part 1 - Lot 2
Part 2 - Lot 2
Part 3 - Lot 2
Part 1 - Lot 3
Part 2 - Lot 3
Part 3 - Lot 3
I would like to repeat labels according to an index global variable:
Part 1 - Lot 1
Part 2 - Lot 1
Part 3 - Lot 1
Part 1 - Lot 2
Part 2 - Lot 2
Part 3 - Lot 2
Part 1 - Lot 3
Part 2 - Lot 3
Part 3 - Lot 3
@Alexander Muff I think it is not very clear what you are looking for. Do you want to put a label on a token based on the nth time this token passes somewhere? Or do you want to put several labels on a token? Do you want to have this table you describe on a token? Some more information is needed here....
I might try something like this with a Schedule Source, using it's access variables for rowNumber, tokenIndex and repeatCount (for repeating schedules) configured like this.
Ideally, I would like to attach 2 labels to each tokens: Type and Assembly. The Type would be 1-3, indexing up each part and resetting back to 1 after 3. The assembly would be the index up after every third token.
Ok that makes it a lot clearer. To get label 1 you could do:
fmod( tokenIndex - 1, 3 ) + 1;
That would give you 1,2,3,1,2,3 etc
For label 2 you could do
(tokenIndex - 0.1)/3 + 1
That would give you 1,1,1, 2,2,2 etc
I am using a scheduled source. Each token is getting the same partID and setID, 1.0 and 1.3
8 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