c4d.modules.character.CAJointObject

class c4d.modules.character.CAJointObject

Methods Signatures

CAJointObject.__init__(self)

rtype

c4d.modules.character.CAJointObject

CAJointObject.GetBone(self)

Get the bone data for this joint

CAJointObject.GetWeightTag(self)

Get the weight tag corresponding to this joint

Inheritance

Parent Class:

Methods Documentation

CAJointObject.__init__(self)
Return type

c4d.modules.character.CAJointObject

Returns

The new joint object.

CAJointObject.GetBone(self)

Get the bone data for this joint

m, len = cajointobject.GetBone()
Return type

list[Matrix, float]

Returns

The matrix and the length of the bone.

CAJointObject.GetWeightTag(self)

Get the weight tag corresponding to this joint

weight = cajointobject.GetWeightTag()
if not weight: return

print weight["op"] #c4d.BaseTag
print weight["index"] #int
Return type

dict{op: BaseTag, index: int}

Returns

The weight tag and the index of the tag.