In the attached template, I'd like the target quantity to be a parameter in the Combiner1 properties, so that I can change it easily. I can't do it, it won't accept that I set "Model.parameters.quantity_tote".
In the attached template, I'd like the target quantity to be a parameter in the Combiner1 properties, so that I can change it easily. I can't do it, it won't accept that I set "Model.parameters.quantity_tote".
You can use the onSet of the parameter to set the targetcomponentsum variable and the target quantity of each port.
Take a look at the entry trigger's option to update the component list for the syntax you need to use. Unfortunately these are not object properties that would allow you to use setProperty().
The "componentlist" has the structure of a node table and stores the target quantity per input port and the "targetcomponentsum" stores the total target sum.
See the attached model for an example of how they can be set if the combiner only pulls items from one input (port 2).
Edit: Re-uploaded file
Sorry, but the attached model is not available.
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