Run Math Tasks

  1. On the tree in the Task Browser, click Demo > Basic > Math > MathTask.
    Note:

    Your Task Browser should include a default catalog called MathTask. If the catalog does not appear on the tree of the Task Browser, load the catalog file from the HyperWorks installation directory on your system: <install_directory>\demos\automate\1_math_task_basic_datatype.

  2. Drag and drop the MathTask into the Process Modeling window. This task is pre-defined to add two inputs and produce one output as follows:
    input_1 = 1
    input_2 = 2
    output = 3
    Note: input_1, input_2 and output are element attributes that you can define in the Task Implementation file.
  3. On the toolbar, click to execute the task.
The results of the task are displayed in the command window, as you see outlined in red in the following image:


Figure 1.
Tip: If the command window is hidden on your screen, hover over the edge of the Process Modeling window, and then click and drag to open the command window.