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

    Claude Bonet Tags And Bones

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 324 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 18/05/2007 at 05:29, xxxxxxxx wrote:

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

      ---------
      I found this link in the forum
      link where dojoman claims that the CB Tags are ordered.

      This is true, however not in his described way. The CB Tags are in a reverted creation order. Whichever was painted last comes first (and the first is the last in the list).

      Now I have the problem that its impossible to assign which CB Tag is tied to which bone.
      GetObject from the tag returns the mesh where its tied to.

      What possibilities are there?

      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 18/05/2007 at 06:00, xxxxxxxx wrote:

        Cinema 4D inserts new tags to the left of the last one (prepends) - that is its normal ordering.

        tag->GetObject(), yes, gets the object to which the tag is attached.

        If you look at the Resource/res/Description folder you'll see Tclaudebonet.h. There is a reference there CLAUDEBONETTAG_BONE which is probably an object link. 🙂

        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 18/05/2007 at 06:28, xxxxxxxx wrote:

          The linked bone is stored in the ClaudeBone tag's BaseContainer. You can simply access it like this:

            
          BaseContainer *data = tag->GetDataInstance();  
          BaseObject *bone = data->GetObjectLink(CLAUDEBONETTAG_BONE,tag->GetDocument());  
          

          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 18/05/2007 at 07:23, xxxxxxxx wrote:

            You are lifesavers!

            thank you so much, I already feared that I would have to use joints and rewrite everything.

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