Model Has Passengers

Description

Checks if the target modeled entity has passengers

Attributes

Attribute Aliases Description Default
modelid model, mid, m The id of the model of the modeled entity to check against
pbone p, seat The name of the seat(s) to check for
mode The mode of the search. Can be either AND or OR AND

Mode Attribute

The mode attribute determine if all of the selected seats should have a passenger, or if only one of them should.

  • Using the AND mode, all of the selected seats should have a passenger in order to make the condition be met
  • Using the OR mode, only one of the selected seats should have a passenger in order to make the condition be met

Examples

This conditions is met only if all of the selected seats are occupied

  Conditions:
  - modelhaspassengers{mid=your_model;p=seat1,seat2;mode=AND} true

This conditions is met if at least one of the selected seats are occupied

  Conditions:
  - modelhaspassengers{mid=your_model;p=seat1,seat2;mode=OR} true

This conditions is met if at least one of the selected seats is empty

  Conditions:
  - modelhaspassengers{mid=your_model;p=seat1,seat2;mode=AND} false

This conditions is met if none of the selected seats are occupied

  Conditions:
  - modelhaspassengers{mid=your_model;p=seat1,seat2;mode=OR} false

Aliases

  • modelhaspassenger
  • modelpassengers
  • modelpassenger
Updated Aug 19, 2026