hi folks,In a list ,I want get the pickrank of an item in racks, I set codes like pic below,but it dont work,what the correct codes?thank you all.
hi folks,In a list ,I want get the pickrank of an item in racks, I set codes like pic below,but it dont work,what the correct codes?thank you all.
You can't just cast an object (assuming "value" is the item in question) as a Storage.Slot.Item.
You first construct the Storage.Item class representation of the item. From there you can access the current Slot.Item or the assigned Slot.Item. The current value being the slot the item is in at the moment, while the assigned slot could be a different slot the item is slated to be moved to.
Storage.Item storageItem = Storage.Item(value); return storageItem.currentSlotItem.pickRank;
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