web
You’re offline. This is a read only version of the page.
close
Please wait...
×

Error



Posted 12 years ago by Blair Thornburrow Groundwater Modeller
Any hints on how to abort a simulation from an IFM (just like pressing the "stop" button)?

p.s. still new to IFM and basic C++ understanding only
Posted 12 years ago by Denim Umeshkumar Anajwala
Hi Blair,

The function to use is 'IfmSetSimulationControlFlag'. Using 'IfmCTL_ABORT' the current operation is immediately aborted (usually not recommended). Normally you'd use 'IFMCTL_BREAK' as the second argument, which will stop the simulation after finishing the current task.

Good luck!
Peter
Posted 12 years ago by Blair Thornburrow Groundwater Modeller
Thanks Peter.  I think using IFMCTL_BREAK will achieve the desired result.

You must be signed in to post in this forum.