THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/03/2005 at 08:21, xxxxxxxx wrote:
What kind of plugin is it (Command, Object, etc.)?
You can store data in the plugin data (allocated in Init() or similar) and it will remain there during a Cinema4D session. Just make sure to deallocate it in Free().
If the data is needed between 'instances' (of Objects for instance), you may need to store the data in the Preferences using Set/GetWorldPluginData() - but it's only good for Containers as fas as I am aware.
Need more specifics since different plugin types have different 'levels' of storage (some have data that can persist during an entire C4D session, others only during the existence of the instance).