question

Raja avatar image
0 Likes"
Raja asked Felix Möhlmann edited

How do change floorstorage , number of slots by defining in parameter table

How to define the number of slots in floor storage by defining it in parameter table on reset. Pls suggest available options

FlexSim 24.1.0
floorstoragefind slotparameters table
· 4
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
I’m not sure if there are slots in a floorstorage at all. A slot is a result of bay and level only. By this note you can apply dimensions of a rack by properties of storage objects.
0 Likes 0 ·
Raja avatar image Raja Joerg Vogel commented ·

Yes there are assume 20 slots in a floor storage, I want define the number slots using parameter table. I need support with this

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Raja commented ·
@Raja, can you attach an example?
0 Likes 0 ·
Show more comments

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann edited

See the linked post (and the question linked there) for information on how to change storage dimensions in code.

https://answers.flexsim.com/questions/159724/set-rack-numofbays-numoflevels-with-flexscript.html

You can set slots to be storable or not in a similar fashion. The code below would set all slots in bays 1, 2 and 6 to be storable, all slots in bay 5 to be not storable and per level in bays 3 and 4.

Object storage = Model.find("FloorStorage1");
Array storeArray = [1, 1, [0, 0, 1, 0], [1, 1, 1, 0], 0, 1];
storage.setProperty("StorableSlots", storeArray);
· 1
5 |100000

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

Raja avatar image Raja commented ·
pls find the attached model, I would like to set the number of slots using Parameter table
0 Likes 0 ·