THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/11/2008 at 18:04, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.1
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
---------
Hi everyone,
Is it possible to access userdata in an object or tag via a name instead of an ID number? To ensure I have all of the right Data parameters accessed properly, rather than by order as I shuffle things about during cleanup, I'd like to change:
var y = op#ID_USERDATA:1;
to something like
var y = op#ID_USERDATA:UserDataNameCreatedInEditUserDataGoesHere;
or
op#ID_USERDATA:"UserDataNameCreatedInEditUserDataGoesHere";
Thanks,
Graham