question

Julius J2 avatar image
0 Likes"
Julius J2 asked Felix Möhlmann commented

Set Slot Stacking Order Rack using FlexScript

Hi! I want to make an easy dashboard to create array of rack. However, I have some difficulties in setting the rack properties, since I want to make the rack multi-deep. One of which is to set the Slot Stacking Order property. How can I set it using FlexScript? Thank you.

1645691842854.png

FlexSim 21.2.0
flexscriptrackwarehousecoding
1645691842854.png (42.7 KiB)
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

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

The slot stacking order is represented by the "stackingAxis1-3" nodes in the racks variables.

1645704287083.png

These can be set using "object.setProperty("SlotStackingAxis1", value)". Possible values are the numbers 1-6 which represent the directions as follows: X+, X-, Y+, Y-, Z+, Z-


1645704287083.png (29.3 KiB)
· 2
5 |100000

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