API EventCallback - Analysis
API EventCallback - Analysis
(OP)
Hi,
I'm looking for the simplest way to check if an analysis is finished in order to proceed with the postprocessing part in the same skript. So to be more descriptive: the script takes a part of a coarse model, opens it in a new instance of femap, refines the model, performs an analysis and proceeds to postprocessing the results. Once started the analysis it doesn't wait till the results are available, but goes on to postprocessing. Because there is nothing to process (analysis still going) it gives no useful information back. Using the EventCallback, I should be able to do that. Any idea how that works? I saved the postprocessing in a different file and called
App.feAppEventCallback (FEVENT_RESULTSEND, CurDir$() & "\test_buckling_post.bas")
but it doesn't call the skript at all. I'm greatfull for any hints!
I'm looking for the simplest way to check if an analysis is finished in order to proceed with the postprocessing part in the same skript. So to be more descriptive: the script takes a part of a coarse model, opens it in a new instance of femap, refines the model, performs an analysis and proceeds to postprocessing the results. Once started the analysis it doesn't wait till the results are available, but goes on to postprocessing. Because there is nothing to process (analysis still going) it gives no useful information back. Using the EventCallback, I should be able to do that. Any idea how that works? I saved the postprocessing in a different file and called
App.feAppEventCallback (FEVENT_RESULTSEND, CurDir$() & "\test_buckling_post.bas")
but it doesn't call the skript at all. I'm greatfull for any hints!





RE: API EventCallback - Analysis
it worked that way. I made a mistake and saved the Skript in another path:( Sorry. But still, is there a way to check if analysis complete and go on in the same Skript? I mean without calling an external Skript.
Thanks!