8.3.7 SetField
The SetField modifier enables setting a field using a value, or copying the value to the selected field from an SDF or TDF. Hierarchical fields are supported. All fields, except fields with parameter type IN, can be set with this modifier, see Figure 175.
If no fields are defined for the structure, the SetField modifier shows No available fields found.
A listed field can be given a value in the Set value field. If a range is set in the Simulation Data, in creation of the field, the input validates the entered value to be within the specified range.
If Enumeration is chosen in the creation of the field, all the names stated there are shown in a drop-down at the field Set value, see Figure 177. The desired value is selected in the drop-down and no other values than these are possible to set. Each value stated in the enumeration is represented by the name, the value connected to it cannot be seen.
If Copy from field is selected, it is possible to copy the value from one field to another. The Set value field is replaced with a drop-down, where all possible fields to copy the value from are shown, see Figure 176. These are fields of compatible data types. It is not possible to copy the value from a field that is not of the same data type.


