question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S commented

Placing flowitem in the middle of the floor storage slot

How can I place the flowitem in the middle of the slot? When the flowitem is smaller than the slot, it is place on edge. The size of the flowitem may vary.

placing_on_Floorstorage.fsm

FlexSim 20.1.3
flexsim 20.1.3flowitemfloor storage
5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

If they're always the same sized items then you can do this with slot padding:

placing-on-floorstorage_jl.fsm


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
0 Likes"
Joerg Vogel answered Ryosuke S commented

You can set any location by it’s property. E.g.

item.location.x = 2.345;

And it is probably a good idea to deactivate the option “Automatically Restack Items” in Storage System in the Toolbox pane Items tab.

You find a property to set locations for the event Slot Entry under triggers tab of the Floor Storage object properties.

You get the slot location and size by FlexScript Class Storage.Slot properties.

· 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.

Ryosuke S avatar image Ryosuke S commented ·

@Jörg Vogel Thanks! I'll try it out.

0 Likes 0 ·

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.