Hiding popups

Valued Contributor
Valued Contributor

Hi,

 

Is there any way to avoid pop-up messages if we want a complete background processing using Solid Edge API?

 

e.g.

 

If we want to Open a document and if that document is not present at specified location, the API may show a message something like "File not found at specified location". How to avoid these messages and handle it completely using API?

 

Any ideas or help would be highly appreciated.

 

Thanks!

 

Posted by: Santosh
Post date: 2/26/2012 11:44:09 PM

2 REPLIES

Re: Hiding popups

Valued Contributor
Valued Contributor

Application.DisplayAlerts = False

 

Also related to background processing:

 

Application.DelayCompute = True

Application.Interactive = False

Application.ScreenUpdating = False

 

Posted by: Jason Newell
Post date: 2/27/2012 12:06:43 AM

Re: Hiding popups

Valued Contributor
Valued Contributor

Hi Jason,

 

Is below line suppresses popup dialogs from Solid Edge add-ins as well?

 

Application.DisplayAlerts = False

 

If no, Is there any way to suppress the pop-ups from Add-in?

 

Thanks in advance...

 

Posted by: Santosh
Post date: 6/18/2012 7:30:38 AM