Solid Edge still doing work when program completes

I have a program that updates some textboxes on a draft file.

I noticed that it is still populating the boxes after my program has completed.

Is there a way to prevent the program from continuing until Solid Edge completes the command it has been sent via API. I don't want the program getting to far ahead.

 

-Carl Breving

 

Posted by: Carl Breving
Post date: 4/23/2013 3:46:16 PM

2 REPLIES

Solid Edge still doing work when program completes

Sounds like a job for the message filter.

 

Posted by: Terry Tyson
Post date: 4/24/2013 7:34:24 AM

Solid Edge still doing work when program completes

We really need an SE dev to answer this question because I would imagine it's a fairly complicated one to answer. I'll take a stab at it knowing that I may get corrected.

 

Most API operations execute synchronously except when you get into GUI updates as they are posted via the Windows Messages Queue. I believe a classic example of this is the StartCommand() method. In order for us the community to help you, we would need to see some code to better understand what calls you're making and what you're trying to accomplish.

 

Posted by: Jason Newell
Post date: 4/28/2013 6:51:55 PM