There are several mechanisms for displaying messages and notifications to the user. The following methods and macros can
be used to display text messages:
- Kernel::HUDMessageShow() - Displays a message as text overlay, also called the head's up display (HUD), in the 3d view. Hide the HUD with Kernel::HUDMessageHide().
- Kernel::SetStatus() - Displays a message in the status bar.
- Kernel::MessageBox() - Displays a modal dialog box to the user.
- MB_ERROR - A macro that creates an Error object and display an error message.
The following are non-textual notifcation mechanisms to indicate progress, or that a lengthy operation is taking place:
- Kernel::WaitCursorStart() - Shows a wait cursor. The cursor can be restored using Kernel::WaitCursorEnd().
- Kernel::ProgressStart() - Displays a progress bar.
- Kernel::ProgressSet() - Updates the current progress bar.
- Kernel::ProgressAdd() - Updates the current progress bar, by adding one to the progress value.
- Kernel::ProgressEnd() - Removes the current progress bar, whether or not the process is complete.