Assigning Module Inputs

In order to use a module in a hierarchy, you need to assign each module input to an actual variable. You can assign module inputs to:

There are two ways to assign module inputs:

Assigning module inputs from inside the module is possible only when you have access to the module. If the module is locked, you can only assign module inputs from outside the module.

To Assign Module Inputs from Inside a Module

  1. Navigate into a module where you want to assign inputs by double-clicking the module variable on the Map or Model layer.
  2. In the module, right-click the variable you want to assign an input to and then choose Assign Input to. A list of variables that can be assigned to this variable will appear.

  3. Choose an available variable to assign to the module input. When an input is already assigned, choosing a different variable reassigns the input to the new variable. When you assign a module input, the variable's name is automatically changed to the name of the output in the source module or model.

To Assign Module Inputs from Outside a Module

When you're assigning module inputs from outside a module, you can assign input variables to the connected module, as well as return values from within the module.

  1. To assign a variable as an input value to a module input in a connected module, right-click the variable and then choose Assign to. A list of module inputs to which you can assign the variable appears:

  2. Select an available module input to assign to the variable. When a variable is already assigned to a module input, choosing a different module input reassigns the variable to the new choice.
  3. To assign a module output as a return value to a variable connected to the module, right-click the variable and then choose Assign Input to. A list of module outputs that can be assigned to the variable will appear.

  4. Select an available module output to assign to the variable. When a variable is already assigned to a module output, choosing a different module output reassigns the variable to the new choice. When you assign a variable to a module output, the variable's name is automatically changed to the name of the output in the source module or model.

Concept Link IconSee Also