On 07/05/2013 at 02:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Hello Everybody,
I need to store custom document settings. I already did that with the R13 SDK by using >BaseContainer *bc = BaseDocument->GetSettingsInstance(DOCUMENTSETTINGS_DOCUMENT);
and inserting a BaseContainer under the ID of my plug-in. Saving & loading actually worked like a charm, however, I wasn't sure if that's the correct way to do this. Or if this is even allowed.
I'm even more unsure now that I had to check the R11.5 SDK (my plug-in has to support PPC Macs) to see what the ID for the document settings container is called in this version. There, the SETTINGS_DOCUMENT enum is noted with "Private!".
So, how exactly should I store custom document settings?