Claude Bonet Tags And Bones

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?

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. :)

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

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.