setGroup Statement

Added: build 1

Purpose

Enables FileWrapper components to use the Analysis Server's group properties for hierarchical organization for input/output variables.

Applicability

The setGroup statement can be used within RowFieldInputFile and RowFieldOutputFile sections.

Additional Information

 
setGroup ""

Syntax

setGroup <string>

Arguments

NameDescription
string The name of the group to insert subsequently defined variables. Use periods to delineate subgroups.

Example

The user would like two groups, pump and heatExchanger, along with a variable not included in any group, numberOfComponents. Each group will have a variable, reliefPressure, and a sub-group called materials. The code needed to establish these relationships is shown below.
#          name                type  row  field 
variable:  numberOfComponents  int   1    1 

  
#          name                type  row  field 
setGroup "pump" 
variable:  reliefPressure      int   2    1 
setGroup "pump.materials" 
... 
  
 
#          name                type  row  field 
setGroup "heatExchanger" 
variable:  reliefPressure      int   3    2 
setGroup "heatExchanger.materials" 
... 

See also Analysis Server | FileWrapper | FileWrapper Statements