A model rule defines initial values for properties of a specific class — the class that is the Applies To key part of the rule instance. Models are instances of the Rule-Obj-Model rule type.
When an activity creates a new page (of a known class), the activity can optionally apply a model to initialize the value of properties on that page. A model name is an optional parameter to the Page-New method and other methods.
Using a model, you can quickly set the value of multiple properties to zero, to the null string, to True or False, to a computed value such as today's date or the current time, a copied value such as your Operator ID, and so on.
By convention, a model named pyDefault is available for most standard classes. However, the name pyDefault is not reserved and has no special significance.
About Model
rules Page-New method |
|
Atlas — Standard model rules |