The mode processing sequence

During the input gathering process, the mode allows you to perform some intermediate error checking. For example, if the user is supposed to enter a value between zero and one but enters a value outside this range, you can flag the error before continuing to collect more input. After all the inputs are collected from the user, the mode verifies the input, constructs the command, and sends the command to the kernel. If there is an exception thrown by the kernel, the mode will handle the exception.

The mode processing sequence is shown in Figure 1.

Figure 1. The mode processing sequence.

To provide custom processing in your mode, you can overwrite many of the methods shown in Figure 1. If you overwrite a method, you should use the exact same prototype for your method, including the same default values that the method may have. Refer to the Abaqus GUI Toolkit Reference Guide to determine the prototype of a method.