Showing results for 
Search instead for 
Do you mean 
Reply

Handle warning message

[ Edited ]

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?

Thanks

1 REPLY

Re: Handle warning message

 

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!