Visual Basic |
---|
Public Property IsIdling( _ ByVal MilliSec As Long _ ) As Boolean |
The purpose of this API is to allow an (out-of-proc) automation user to test whether Solid Edge has been in an "idle" state (i.e., no idle processing is pending) for a specified amount of time. While "seApplication.DoIdle()" will/should cause Solid Edge to perform idle processing, it is not a guarantee that Solid Edge has actually entered a quiescent state since timers and delays can result in deferred processing.
If the automation user wishes to detect when Solid Edge has been "idle" for a specific amount of time, it is recommended to call seApplication.get_IsIdling(interval) in a breakable loop since the call will return immediately with the idle duration status requested. If the interval value is too long, it is possible that the call will never return a TRUE result. This can happen in the case of application/addin timer events or spurious mouse/keyboard/3dinput messages.