question

Rubén LP avatar image
0 Likes"
Rubén LP asked Mischa Spelt commented

How I can access to flow items labels in the 3D model from a Process Flow?

Choose One
process flowlabels
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

Axel Kohonen avatar image
3 Likes"
Axel Kohonen answered Mischa Spelt commented

HI @Rubén LP

You need to get the reference to the flow item somehow, e.g. if the flow item is in a certain queue then you can access it by rank or possibly use an event triggered source in process flow as in the attached model (FlexSim 2018). Then you can access the label by flowitem.labelname. Note that the label names are case-sensitive so "mylabel" and "Mylabel" are not the same.

Hope this helps!

Axel

accesslabelfromprocessflow.fsm


· 1
5 |100000

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

Mischa Spelt avatar image Mischa Spelt commented ·

Worth adding that usually, in Process Flow, you will obtain a reference to a flow item in a token label, for example by an Acquire, Create Object or Pull From List. If that label is called, for example, Item, you could access the flowitem's labels through token.Item.MyLabel. (FlexSim recommends using PascalCasing for label names).

1 Like 1 ·