THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/11/2008 at 08:36, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Howdy,
OK, I've done a search to get an understanding of how to access User Data parameters and found a few posts showing how to browse, retrieve and set User Data parameters.
But, now what I want to do is store the User Data parameter settings in several sets so they can be called later with a click of a button and the values restored to the User Data parameters from a selected set of values. The stored sets also need to be managed so that if a user deletes a User Data, the values in the stored sets that correspond to the deleted User Data also need to be deleted. Then to top it off, this needs to be done for a list of objects.
How would I go about storing all this data? Should I create structures and arrays, or use BaseContainers with sub-containers? If there are large amounts of data, will BaseContainers slow things down dramatically? If it's better to use arrays, what kind of structure would it need to store User Data values?
I hope I haven't bitten off more than we all can chew, here. :o(
Any suggestions?
Adios,
Cactus Dan