In the model I have created 4 surrogate planes for the box flow item (with color red). I want to change the color of these surrogates according the item type of the flow item.
In the model I have created 4 surrogate planes for the box flow item (with color red). I want to change the color of these surrogates according the item type of the flow item.
You can use a decision point and inside the on arrival trigger. You can try the following code.
treenode Surrogate = drawsurrogate(item); for(int k =1;k<=Surrogate.subnodes.length;k++) { Object SurrogatePlane = Surrogate.subnodes[k]; SurrogatePlane.color = item.color; }
Regards,
Arun KR
6 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