Sorting simulation

Hello,
I would need to make a simulation for sorting boxes based on their types or names to different shelves. I am using the ‘switch’ statement for sorting the boxes but I wonder with what syntax format I can get the name or the type (or other parameter) of the box ,which are defined in the process modeling tab already. Besides that, is there any statement in process node can extract the variable from the arrived product?
Thank you!

You can use expressions to access the product properties.
For example: ProductIn.MyProperty

See the documentation for more details.
https://help.visualcomponents.com/4.8/Premium/en/English/Expressions/Process_Statement_Expressions.htm

Additionally, you can add product property filters to Transport commands to sort which products should go to each process.

1 Like

Thanks for your help!

I can make my simulation work now.

1 Like