question

Sahar A avatar image
0 Likes"
Sahar A asked tannerp edited

How do I update labels in process flow for existing 3D object?

I am creating a 3D model using process flow to set the logic in each object. I have a simple question.

When I move a 3D object from X Object to Y Object, how do I “update” the label values in the 3D object in the Y Object's process flow? Like how do I reference my 3D object when I want to update the labels?

Previously, in my process flow for X Object, I created the 3D object then assigned the labels I needed on token.item

How do I do this?

FlexSim 18.0.3
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

Kari Payton avatar image
1 Like"
Kari Payton answered tannerp edited

@Sahar A In the process flow instead of "Assign Labels To" token, put token.item.

I attached an example. I showed both where you can assign labels to the token from 3D or in the Process Flow Assign Label to "token.item".labelz.fsm


assign-labels.png (47.8 KiB)
labelz.fsm (63.1 KiB)
· 3
5 |100000

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

Sahar A avatar image Sahar A commented ·

I understand thats how to reference the 3D object, but what I need to do is essentially reference the same 3D objects that are stacking into my Y Object. When they get to Y Object, I copy their labels onto tokens and then update some values,etc in the process flow, but now I need them to go back to those SAME objects. Sorry if I'm not making sense lol

0 Likes 0 ·
Kari Payton avatar image Kari Payton Sahar A commented ·

@Sahar A oh I think I understand. Can you use event triggered source or wait for event to make a token with "item" label for when the object enters Y Object. That way you can reference that specific object again after the values are updated. labelz.fsm

Can you provide an example model? That may help.

0 Likes 0 ·
labelz.fsm (61.0 KiB)
tannerp avatar image tannerp Sahar A commented ·

@Sahar A

One thing that I've found to be helpful when working with tokens in process flow that represent 3D objects is using the Label Assignment box that is found in a number of process flow activities.

As you can see in the following image, you simply enter a label name and select "assign" in order to assign the label to the 3D object from the process flow. This then connects that item to the token in your process flow for easy manipulation.

0 Likes 0 ·