Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

MOM_display_message

In NX9 there is a new MOM-command:

 

For example:

 

    MOM_display_message "There is an error !!!" "Errortitle" "I" "OK" "Return" "Exit"

 

How do I get the return-value 1, 2 or 3, depending which button is clicked?

 

Thank's for help

2 REPLIES
Solution
Solution
Accepted by MarkRief (VIP)
‎08-26-2015 04:32 AM

Re: MOM_display_message

You can use something like this:

 

global return_value

set return_value  [MOM_display_message "Select machine" "Select Machine" Q Alpha-T21iL Alpha-T21i]

 

Best Regards,

Re: MOM_display_message

Great! This is what I did but I forgot to set the variable global.

 

Thank's a lot

Learn online





Solution Information