C_CalculateStatics

C_CalculateStatics performs the OrcaFlex Single Statics calculation. This function is the equivalent of selecting Calculation | Single statics from the OrcaFlex menu.

void C_CalculateStatics(

TOrcFxAPIHandle ModelHandle,

TStaticsProgressHandlerProc StaticsProgressHandlerProc,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

StaticsProgressHandlerProc (IN)

A callback function to handle progress notifications. If you do not want to receive progress notification pass NULL.

lpStatus (OUT)

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

Remarks

If the procedure is successful then results can be extracted by calling C_GetStaticResult2 or C_GetRangeGraph4.

Unicode and ANSI

The Unicode function name is C_CalculateStaticsW and the ANSI function name is C_CalculateStaticsA.

See also

C_GetRangeGraph4, C_GetStaticResult2, C_RunSimulation, C_RunSimulation2.