On 06/01/2015 at 08:06, xxxxxxxx wrote:
Glad to help! I can confirm that your code to delete the info works. I retrieved the data both at the beginning and end of the script with your code and without, and get the expected results of either the data being removed or still being there, respectively.
As for ScottA's question about a better way to store data, I have a few suggestions:
- Store it in a file, perhaps C4D's HyperFile functionality could help? Either way, creating your own data file is probably the best option.
- If you're certain you or your clients only work on Windows, you can perhaps use the registry. I don't know Mac OS X that well, but apparently there are a few roughly equivalent options, such as Property Lists.
Note: Offering cross platform compatibility is the reason why there are various options within C4D that appear to replicate, even if only in a minimal way, other operating system data storage options.
SDK Support Engineer