!!Attributes

Attributes are an optional mechanism to resolve replacements in the
simulation parameter template file with actual values. The values used
for the replacment depend on the current simulation parameter value set.

To use attributes, a single attributes file is placed in the MetaData directory
of the StudyRoot. The name of the file is defined by a property.

The attributes file contains lists of attributes. Each list is associated
with a simulation parameter and a value for this simulation parameter. The
associated list is used for replacements when a simulation run is performed
with the given value for this simulation parameter.

The simulation parameter and its value are defined in the form [SimParaName,SimParaValue].
After this the list of attributes follows as lines of the form AttName=AttValue.
Each such line defines one attribute with a corresponding value.

So the format of the file is as follows

%pre
  [SimParaName1,SimParaValue1]
  AttName1=attValue1
  AttName2=attValue2

%pre
  [SimParaName1,SimParaValue2]
  AttName1=attValue1
  AttName2=attValue2

The file may contain empty lines and comment lines starting with #. Blanks
may be inserted where appropriate.

The attributes are used when generating the simulation parameter file
from the simulation parameter template. In the parameter file template
there may be replacement patterns (%%<Replacement>%%) which contain
attribute names besides the commonly used simulation parameter names.

During the generation of the simulation parameter file each attribute name
is replaced with the attribute value for the current simulation parameter
value.

When using the attributes file it is important that for each replacement
pattern in the simulation parameter template file a attribute value
is given. That means that for each value of a simulation parameter an
attribute list must be defined.
