c4d.modules.character.CAJointObject

class c4d.modules.character.CAJointObject

Methods Signatures

CAJointObject.__init__()

CAJointObject.GetBone()

Get the bone data for this joint

CAJointObject.GetWeightTag()

Get the weight tag corresponding to this joint

Inheritance

Parent Class:

Methods Documentation

CAJointObject.__init__(self)
CAJointObject.GetBone(self)

Get the bone data for this joint

m, len = cajointobject.GetBone()
Return type

List[c4d.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.