Parameter mapping
Parameter mapping
The value of a parameter may be
- user-supplied
- default, i.e. bound to the value of the corresponding parameter in the template;
- invoked, i.e. assigned by IDA Modeler;
- mapped, i.e. bound to the value of some other parameter (master parameter);
- calculated, i.e. dependent on the values of other parameters.
The dependent values are changed automatically when the master values are changed (except the invoked values, which are recalculated all together on user request).
The user can freely change the user-supplied values. For dependent values some restrictions may be introduced:
- The value may be non-editable
- The change of the value may change the master’s value
- The change of the value may break the mapping (this is the default action)
- The user may be asked to select from the previous three cases.
If the mapping is broken, the value is treated as user-defined.
The background color of the parameter’s field show the mapping mode of the parameter:
user-supplied value
default value
invoked value
mapped or calculated value (editable)
mapped or calculated value (non-editable)
the value was mapped, calculated, or invoked. The mapping is broken.
The mapping may be changed using the Mapping submenu of the Right Button menu. It contains the following items concerning the mapping:
| Edit link | Open the mapping dialog |
| Break link | Break the mapping, so the value will not change if the master’s value is changed |
| Restore broken link | Restore the broken mapping. The value is also recalculated. |
| Restore original link | Set the mapping as it was originally. This is:
|
| Show master | Display the form containing the master parameter. |
In case of vector or matrix parameters, only the operation Break link, Restore link and Show master may be applied to the elements of array.
When using graphical scripts, the mapping submenu contains also the list of available scripts. Select a script to map parameter to output from that script (either to an existing or to a new output object).