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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    get user data

    SDK Help
    0
    3
    301
    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
      Helper
      last edited by

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

      On 01/10/2003 at 04:15, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      How can I retrieve user data (data that has been added with the "add userdata" dialog) from c++?
      I would like to add custom data to objects (e.g. a billboard flag) and access this data during export to a custom file format.

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

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

        On 07/10/2003 at 08:26, xxxxxxxx wrote:

        12 views and no answer so far...
        Is the question clear? I only have a german version of C4D, maybe the dialog is called differently. It can be found in the Attribute-Editor-Menu (last Entry).
        Thanks

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

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

          On 12/10/2003 at 01:24, xxxxxxxx wrote:

          Here's an example how to get all user data of an object: (GeDataToString() is my function.)

              
              
                BaseObject* obj = doc->GetFirstObject();  
                DynamicDescription* dd = obj->GetDynamicDescription();  
                void* handle = dd->BrowseInit();  
                DescID id; const BaseContainer* bc;  
                while (dd->BrowseGetNext(handle, &id, &bc))  
                {  
                  GeData data;  
                  obj->GetParameter(id, data, 0);  
                  GePrint(bc->GetString(DESC_NAME) + ": " + GeDataToString(data));  
                }  
                dd->BrowseFree(handle);
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post