USERDATA access via name?

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

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/11/2008 at 00:38, xxxxxxxx wrote:

This is currently not possible.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/11/2008 at 10:56, xxxxxxxx wrote:

Thanks for the prompt response Matthias,
   I guess this will force me to stop being lazy and create a proper dialog interface for the expression menu plugin...something I need to learn anyway.
Cheers,
Graham