|  |  | Constructing a Macro-Construction

### Constructing a Macro-Construction

At this point, the construction sequence is done. Now, the user needs to tell Dr. Genius that she wants to create a macro-construction from this sequence. She can call the `Construct a macro` function from the icon or from the contextual menu in the figure view.

From the wizard dialog, the user selects the input & output parameters, the name and description of the macro-construction.

The 1st page of the wizard dialog to construct a macro-construction

The second page of the dialog is used to select the input parameters. In our example, these are the three initial points. The user just needs to go to this second page and she can select the three points in the figure. The selected items will blink.

The 2nd page, the three points are already selected

From the 3rd page, she selects the output parameters. In our example, we want the circle and its centre as the result of the macro-construction. She proceeds as in the case of the input parameters to select them.

The 3rd page, the circle and its centre are already selected

In the 4th page, the user enters the name and the description of the macro-construction. This information is displayed when the user executes a macro-construction, so it helps to distinguish macro-construction between them.

The 4th page, the name and description of the macro-construction

From the last page of the wizard dialog (the 5th one), the user can terminate the creation by pressing the `Finish` button. Alternatively, she can return to previous pages to adjust the macro-construction parameters.

(!) If the input & output parameters selections do not match (DR. GEOcannot extract the logic of the construction), the macro-construction cannot be built. In such a case, the user needs to reconsider the input and output parameters selection. She can go back to the 2nd and 3rd page of the wizard dialog to adjust her choices.

At this point the macro-construction is built and recorded in DR. GEO. In the next section, we will see how to use this macro-construction.

|  |  | Constructing a Macro-Construction