C_SaveData

Call C_SaveData to save the data of an OrcaFlex model to file. Binary or text data files can be saved.

void C_SaveData(

TOrcFxAPIHandle ModelHandle,

LPCTSTR lpDataFileName,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

lpDataFileName (IN)

Points to a null-terminated string containing the name of the file to be saved.

If the file extension is '.yml' then a text data file will be saved; otherwise a binary data file will be saved.

lpStatus (OUT)

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

Unicode and ANSI

The Unicode function name is C_SaveDataW and the ANSI function name is C_SaveDataA.

See also

C_LoadData, C_LoadSimulation, C_RunSimulation, C_RunSimulation2, C_SaveDataMem, C_SaveSimulation.