Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Reading of User Data

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 354 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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.   

            1 Reply Last reply Reply Quote 0
            • First post
              Last post