C_GetModelState

Call C_GetModelState to find out what calculation state the model is currently in.

void C_GetModelState(

TOrcFxAPIHandle ModelHandle,

int *lpModelState,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

lpModelState (OUT)

Points to a variable in which the model state will be returned. This will be one of the following constants which are defined in OrcFxAPI.h:

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

C_CalculateStatics, C_ResetModel, C_RunSimulation, C_RunSimulation2.