question

Joe L6 avatar image
0 Likes"
Joe L6 asked Joerg Vogel answered

get a certain label of all items

I would like to get a certain label value of all items in the model when the simulation time is 100 seconds. However, some items are still in the queue, while others are still in the machine. Is there any function or command to get a certain label value for all items in a model? Thank you!

PS: I use FlexSim 16.1.2 version

FlexSim 16.1.2
labelsitemgetlabel
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

You push all items to a list, when you create them. You add a label field you want to check. Then you are able to. Check label value whenever you like.

A different approach uses a recursively searching command to check every object in a model. forobjecttreeunder .

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.