.DefaultValue

Syntax

DefaultValue "Attribute name", "Value specified in Value box", specifies on which application this default value should be executed

Description

Transmits a default value to an attribute when a data input is not recognized.

The DefaultValue command guarantees that some value will be written as part of the operation. However, if an attribute has been modified by some other command, then the default value has no effect. If you need to write a value in all cases, then use the TransmitToAttr command instead.

The command applies per visit to an entity. If you leave the entity, all attributes have their modified flag reset.

Command Parameters

Attribute Select a configured attribute.
   
Value Type a value for the attribute.
   
Application Select from the following options to specify how this default value should be handled in the Design Tool and during Host Integrator Server execution:
   
  Default value for Design Tool only - Select this option to make this a default value only during model production on the Design Tool.
 

Default value for server and Design Tool - Select this option to make this default value active during server execution as well as model production on the Design Tool.


Related Topics
Bullet Configuring variables
Bullet Attribute tab