NXMessageBox Class

class NXOpen.NXMessageBox

Bases: object

Displays message box.

Note: The number of lines displayed in the message box can vary based on Operating System and Screen Resolution To obtain an instance of this class, refer to NXOpen.UI

New in version NX5.0.0.

Methods

Method Description
Show Show message box.

Enumerations

NXMessageBoxDialogType Enumeration Describes type of message box.

Method Detail

Show

NXMessageBox.Show

Overloaded method Show

  • Show(title, msgboxType, message)
  • Show(title, msgboxType, messages)

-------------------------------------

Show message box.

Signature Show(title, msgboxType, message)

Parameters:
Returns:

Return value from Message Box. If of type NXMessageBoxDialogType.Question

then the value will be 1 for yes or 2 for no. Otherwise the returned value will be -2. :rtype: int

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Show message box.

Signature Show(title, msgboxType, messages)

Parameters:
Returns:

Return value from Message Box. If of type NXMessageBoxDialogType.Question

then the value will be 1 for yes or 2 for no. Otherwise the returned value will be -2. :rtype: int

New in version NX5.0.0.

License requirements: None.

-------------------------------------