Routine

From Planimate Knowledge Base
Revision as of 14:06, 16 April 2010 by Rick (talk | contribs) (Created page with 'A routine is a series of operations which are performed when an item flows through the Change Object containing it. Routines are Planim…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.