.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 modes are available:

  • im_Batch - Never displays dialog boxes and always uses default values

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

  • im_Abort - Never displays dialog boxes and aborts execution instead of using default values each time a dialog is encountered

For example, you could use this macro if your model contains external shortcuts. If the target model of an external shortcut is closed and you are in im_Dialog mode, then a dialog box is displayed to prompt you to open the target model.