0 Votes

Parameter mapping

Last modified by WikiBot on 2025/03/20 14:15

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:

image/txt_white.gif user-supplied value

image/txt_cyan.gif default value

image/txt_green.gif invoked value

image/txt_gray2.gif mapped or calculated value (editable)

image/txt_gray.gif mapped or calculated value (non-editable)

image/txt_yellow.gif 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:

  • invoked – if the parameter was generated with "invoked" mapping;
  • mapped or calculated – if the prototype parameter is mapped or calculated
  • default – if the prototype’s value is default or user-defined
  • user-defined – if the parameter has no prototype
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).