Reading of User Data



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

    On 24/03/2010 at 03:14, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   Release1 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hello,

    i add some User Data to an e.g. Cube and like to read this data with coffee.
    How can i do this. I don't know the id number of it.
    I know that i can get the Container of the object, but to read the data itself i need an ID?
    Can someone help me?

    regards
    Marky71



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

    On 24/03/2010 at 03:45, xxxxxxxx wrote:

    Userdata is accessed like this:

      
    op#ID_USERDATA:1 //op is the object; this is the first userdata  
    op#ID_USERDATA:2 //this is the second userdata, and so on  
    

    cheers,
    Matthias



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

    On 24/03/2010 at 05:21, xxxxxxxx wrote:

    Create, it works fine.
    thanks.



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

    On 26/03/2010 at 01:56, xxxxxxxx wrote:

    Also, if you're working inside cinema rather than in an external code editor, you can just drag the userdata into your coffee script and it finds it for you. Ace. Saves lots of time.   


Log in to reply