HyperWorks Desktop

Running a Math Task

Running a Math Task

Previous topic Next topic No expanding text in this topic  

Running a Math Task

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  
1.On the tree in the Task browser, under Demo>Basic>Math, select MathTask.

Note that 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 that input_1, input_2 and output are element attributes that you can define in the Task Implementation file.

 

3.On the toolbar, click ProcessPlay 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:

math_task_execute

If the Command window is hidden on your screen, hover over the edge of the Process Modeling window, and then click and drag drag to open the Command window.