Table of Contents

Table of Contents

FlexScript Class - ElevatorBank

ElevatorBank

Description

A class that represents a bank of elevators.

Properties

elevators An array accessor to the set of ElevatorBank.Elevators in this bank.
requests An array accessor to the set of ElevatorBank.Requests in this bank.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

ElevatorBank.elevators

readonly elevators

Description

An array accessor to the set of ElevatorBank.Elevators in this bank.

ElevatorBank bank = Model.find("ElevatorBank1");
for (int i = 1; i <= bank.elevators.length; i++) {
ElevatorBank.Elevator elevator = bank.elevators[i];
...
}
Do no remove, this fixes the anchor on doc.flexsim.com

ElevatorBank.requests

readonly requests

Description

An array accessor to the set of ElevatorBank.Requests in this bank.

for (int i = 1; i <= bank.requests.length; i++) {
ElevatorBank.Request request = bank.requests[i];
...
}