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
    • Register
    • Login

    User Data

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 274 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 08/08/2005 at 22:50, xxxxxxxx wrote:

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

      ---------
      Hello........

      Can I query the user data of an object?
      Let's say ...
      I create a cube in Cinema4D (not using SDK)...
      Then I add a user data named "AAA" and type string.

      In code .. I open the file that cube is existing ...
      Then ...

      BaseObject*obj=GetActiveDocument()->SearchObject("Cube");
      if (obj)
      {
         BaseContainer *bc=obj->GetDataInstance();
         bc->GetString(.... what do I have to do?
      To get that data "AAA" is possible or not?

      With all my respects ...
      ZawMinTun

      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 11/08/2005 at 12:28, xxxxxxxx wrote:

        Yes. Use obj->GetDynamicDescription() to access the user data DescID's. Then you can access the user data with obj->GetParameter().

        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 11/08/2005 at 21:20, xxxxxxxx wrote:

          Yes ........
          Thanks a lot for your reply ...
          It helped me a lot ...
          Now I can get it ...

          With all my respects ...
          ZawMinTun

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