question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

Display the name of the goods

i want to show the name on the box how can i do

0826new_2 (1)_autosave.fsmexcel.xlsx

FlexSim 20.0.10
agvflexsim 20.0.10
excel.xlsx (9.0 KiB)
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ryan Clark commented

In the attached model I created a custom text object. When it is not inside any object it will display "No Container". When moved into an object it will instead display the name of that object and adjust its position and size to fit the object. (Not entirely, as the size difference between characters isn't taken into account)

Have a look at the custom code in the "Text Display" option to see how it works.

In an "On Creation" trigger of the source I create of copy of this object inside each newly created item.

If you run the model, you will see eight items with different names get created, with their names displayed by the copies of the text object inside the items.

1630568008584.png

Display_Item_Name_fm.fsm


· 16
5 |100000

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