Aqeel Tariq
Aqeel Tariq

Reputation: 313

How to Increase the Number of Levels in a Pallet Rack Using AnyLogic's Parameter?

My goal is to use a slider to increase or decrease the number of levels in a pallet rack.

But there is no option in pallet rack properties to add a parameter or a variable.

enter image description here

How can I achieve that? Kindly let me know.

Thank you.

Upvotes: 1

Views: 65

Answers (1)

Yossi Benagou
Yossi Benagou

Reputation: 358

As far as I know you can change this value with the function palletRack.setNumberOfLevels(nLevel) but before the initialization of simulation markup element.

For example you can use it in 'Before simulation run' section in Simulation Experiment root.palletRack.setNumberOfLevels(myIntVar);

Upvotes: 2

Related Questions