Hi, I got several item on a slot. how to get the exactly number by code? Thank you.
Hello @Kyle Y,
If you have the reference to the slot in, for example token label token.slot, you just need to access to the next property:
Storage.Slot slot = token.slot; int slotContent = slot.slotItems.length;
Thank you Vogel. If I have 2 rack and each rack contain 2 levels and 7 bays, each bay contain 4 slot, and each slot have its own label("Type"). How can I go through all of the slot content? Thank you.
14 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