.set_interactive_mode Macro

This macro is used to define if the GTL execution must interact with the user or not.

.set_interactive_mode(mode)

The following parameters are available:

Parameter

Description

mode

Specifies the level of interaction required. You can choose between:
  • im_Batch - Suppresses dialog boxes and always uses default values. For example, if your model contains external shortcuts and the target model for the shortcuts is closed, this mode will automatically open the model without user interaction.

  • im_Dialog - Displays information and confirmation dialog boxes that require user interaction for the execution to keep running.

  • im_Abort - Suppresses dialog boxes and aborts execution if a dialog is encountered.