From Planimate Knowledge Base
Jump to: navigation, search

A routine is a series of operations which are performed when an item flows through the Change Object containing it. Routines are Planimate's scripting language and can modify model data, change the user interface, call DLLs or even modify the model itself.

Planimate can also call routines to decide whether an item should move through it or not. This is called lookahead and enables powerful decision making in complex network models. Changes made by a routine in lookahead are generally undone unless the modeller has indicated otherwise.