My question is about query and list,
I am using SELECT as quantifier to pull a certain amount of mass from a list, I would like push that value back to list, to the same line that i pushed it. Can I do that? If yes, how?
If you are using a global list, you can use the "UPDATE" keyword in the "Table.query()" command to set certain values on the list/table. To update the correct row, you'd also need to pull some identifier of the row you pulled from (row number, respective item, ID value,...).
In the attached example I simply push some tokens with a "Quantity" label to a list. Another token then "SELECT"s some of that quantity and later updates the list value again, using the value (token) to identity the row.
16 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