question

Jason P2 avatar image
0 Likes"
Jason P2 asked Jordan Johnson answered

How to un Virtualize items in racks for picking

I have a model that I want to show the items in the racks I have them virtualized so the model will run quicker. I cant seem to figure out how to pick the virtualized items from the racks

FlexSim 20.1.0
storage system
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

When you query for items to pick, if you query succeeds, you'll get a Storage.Slot.Item value. Usually, you'll want to mark that item as outbound, so that future picking queries won't give back the item. To mark it outbound, you'll use code like:

Storage.Slot.Item slotItem = Storage.system.findItem("WHERE ...");
if (slotItem) {
  // mark the storage item as outbound
  slotItem.storageItem.assignedSlot = 0; 
}

It turns out that accessing the storageItem property of a Storage.Slot.Item value will make sure the value is unvirtualized.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.