question

Stan Davis avatar image
0 Likes"
Stan Davis asked Stan Davis commented

Rack Wireframe Visualization with Slot Padding ??

I am building a custom wireframe rack visualization and need a way of showing slot padding. Here is a concept of my goal with padding boundaries defined in green..

1667501005565.png

However, I do not see a way to modify any draw elements to show padding. Is it possible?? Thanks - Stan

FlexSim 22.2.2
rackslotvisualizationpadding
1667501005565.png (13.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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Stan Davis commented

In the Draw Element's Alignment Values, you could use the same values as your slot padding values in order to draw lines representing the padding.

1667571134275.png

This method isn't dynamic though, where the values are reading changes in the slot padding. If you change the slot padding, you need to change the visualization also.

rack_padding_lines.fsm

Also, the draw elements are scaled to each slot's size, but not to its padding, so if you have different paddings for different slots, then this method isn't going to work correctly because the draw element is defined once for every slot, not differently for each slot.

If you wanted to read the slot padding values to dynamically draw the lines based on each slot's different padding value, you could use rack.getProperty("Dimensions") to get the individual slot padding values:

1667571358298.png


1667571134275.png (215.4 KiB)
1667571358298.png (70.6 KiB)
· 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.

Stan Davis avatar image Stan Davis commented ·
Understood. thank you - Stan
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.