NXMessageBox Class¶
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: - title (str) – Title NOTE: The full Unicode character set is not supported for this parameter.
- msgboxType (
NXOpen.NXMessageBoxDialogType
) – Message box type - message (str) – Message NOTE: The full Unicode character set is not supported for this parameter.
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: - title (str) – Title NOTE: The full Unicode character set is not supported for this parameter.
- msgboxType (
NXOpen.NXMessageBoxDialogType
) – Message box type - messages (list of str) – Multi-line message NOTE: The full Unicode character set is not supported for this parameter.
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.
-------------------------------------