Synopsis
PDX_MSGT gdx_SaveModel(long option, char *file, int gdx_model)
Purpose
Saves GDX model with attribute and precision information
Description
Updates model precision and attributes before saving the model with mda_SaveModel. When the attributes are saved, all references to the originating entities are resolved and the entities are updated the GDX model. The originating model must be in memory for the attribute handling to work properly.
Input
option
GDX_OVERWRITE
If destination file already exists, it is overwritten The default is to return an error if the file already exists.
GDX_RETAIN_STATE
Reset the internal attribute variables so the GDX model is in the same state it was before calling this function.
file
File to store model in
gdx_model
Model being saved
Return
GDX_NOERR