Saves custom preferences data into the preferences file.
GSErrCode ACAPI_SetPreferences ( Int32 version, GSSize nByte, const void* data );
- [in] The version of the data to be stored.
- [in] The size of the data to be stored.
- [in] The preferences data you would like to store.
This function is used to save your own options or preferences into the preferences file of the server application, and can be later retrieved with ACAPI_GetPreferences.
If you store incompatible versions of preferences data in different ARCHICAD releases, use the ACAPI_SetPreferences_OldVersion function to define preferences to be saved into the older project file formats.
- Version: API 4.1 or later
- Header: ACAPinc.h