Showing results for 
Search instead for 
Did you mean: 

Handle warning message


I am using NXOpen in the C# language.

When i run my .dll file, sometimes it throw a warning as shown in the attached file.

The process cannot continue until i click "yes" or "no" on the message box.

I am wondering is there a way that i can use to automatically choose "no" everytime so that i don't need to sit in front of the computer waiting the warning?



Re: Handle warning message

Siemens Phenom Siemens Phenom
Siemens Phenom


Good afternoon.  In general, NXOpen methods should return an exception, rather than posting an interactive dialog, except of course in cases where you are using an NXOpen method specifically to post a dialog.  That way the programmer can decide how a given condition is handled, rather than stopping the program to wait for input.


Please contact GTAC and provide a small program (and a part, if necessary) that will allow us to reproduce this, so that we can refer it to development for resolution.  Thanks!