NXOpen.UF.Ui.MessageDialog

Ui.MessageDialog()

Refer to UF_UI_message_dialog for documentation.

Signature: MessageDialog(titleString, dialogType, messages, numMessages, translate, buttons)

Parameters:
  • titleString (str) – Dialog title displayed in title bar
  • dialogType (NXOpen.UF.Ui.MessageDialogType Refer to UF_UI_MESSAGE_DIALOG_TYPE for documentation.) – Indicates the type of dialog type
  • messages (list of str) – Messages to display in dialog
  • numMessages (int) – Number of messages associated with messages.
  • translate (bool) – Flag to translate messages.
  • buttons (NXOpen.UF.Ui.MessageButtons Refer to UF_UI_message_buttons_s for documentation.) – Definitions of buttons to display within the dialog. The response field must be within 1-100.
Returns:

Response from the dialog

Return type:

int

License requirements: None