How can I use a script language to set parameters such as bay, level, etc. when performing batch generation of floor storage through a script?
How can I use a script language to set parameters such as bay, level, etc. when performing batch generation of floor storage through a script?
Number and sizes of bays/levels/slots can be set using function_s() with the function names below.
function_s(rack, "setNumBays", num);
function_s(rack, "setNumLevels", num); function_s(rack, "setNumSlots", num); function_s(rack, "setBaySize", size); function_s(rack, "setLevelSize", size); function_s(rack, "setSlotSize", size);
You can find these and some others by exploring the structure/tree of the dimension edit window of a rack object.
Note that forward compatability is not guaranteed for the function_s expressions.
You can set these properties using rack.setProperty(). The dimensional properties are listed here along with a description of the values required and the use of arrays in setting mixed values.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved