Default scripts

Attribute default script

Usage

An attribute default script belongs to an attribute. If the attribute belongs to an object then the default script defines the attribute's value in case no value is explicitly defined in the object creator. If the attribute belongs to a service then the default script defines the attribute's initial value.

Selector syntax

Table 7.14. Attribute default script selector

ProductionSyntaxLinks
attribute_default_script_selectorattribute_id "." "default"the section called “Attribute default script”

Input arguments

This script has no input arguments.

Output argument

This script has one output argument that contains the default value. This output argument's id suffix and type are the same as those of the attribute (e.g. if the attribute id is a_color then this script's output argument id is o_color).