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.
Table 7.14. Attribute default script selector
| Production | Syntax | Links |
|---|---|---|
attribute_default_script_selector | attribute_id "." "default" | the section called “Attribute default script” |
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).