utils.ArrivalPosition

utils.ArrivalPosition()

EventPosition for the mandatory "arrival" event.

A thin wrapper over EventPosition with event fixed to "arrival" - the exact string vidigi matches on to decide when an entity first appears - so you do not have to remember it. label defaults to "Arrival" (unlike EventPosition, where it is required); every other field behaves exactly as on EventPosition.

ArrivalPosition(x=50, y=450) is equivalent to EventPosition(event="arrival", x=50, y=450, label="Arrival").

Passing a conflicting event= raises ValidationError; use EventPosition directly for any other event name.

Back to top