Hi,
I would like to set the same Type on a pallet based on a box Type from Input2.
Model below:
set-pallet-item-based-on-box-type-rr.fsm
What is the best solution?
Hi,
I would like to set the same Type on a pallet based on a box Type from Input2.
Model below:
set-pallet-item-based-on-box-type-rr.fsm
What is the best solution?
You can use the first property of a treenode (an Object is also a treenode) to reference its first child node.
Given the box is packed onto the pallet, it becomes a child of the pallet, so you can reference its type label as
referenceToPalletObject.first.Type
So you could do what you want like this, for example :
Manual page for first : https://docs.flexsim.com/en/20.0/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/treenode.html#Property-first
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved