c4d.modules.character.MTCharacterDefinitionTag

class c4d.modules.character.MTCharacterDefinitionTag

Represents the Character Definition tag.

New in version S24.

Methods Signatures

MTCharacterDefinitionTag.ExtractSkeleton(self, undo)

Automatic body part extraction for the skeleton.

MTCharacterDefinitionTag.ExtractRestPose(self, undo)

Gets current skeleton pose and set it as rest pose.

MTCharacterDefinitionTag.ApplyRestPose(self, undo)

Applies the current rest pose.

MTCharacterDefinitionTag.ClearRestPose(self, undo)

Clears the current rest pose.

MTCharacterDefinitionTag.CreateSolver(self, undo)

Creates a solver and assign to the object owner.

MTCharacterDefinitionTag.GetRootBodyPart(self)

Returns a copy of the body part hierarchy.

MTCharacterDefinitionTag.SetRootBodyPart(self, rootBodyPart)

Sets the body part hierarchy.

Inheritance

Parent Class:

Methods Documentation

MTCharacterDefinitionTag.ExtractSkeleton(self, undo)

Automatic body part extraction for the skeleton.

Warning

This should be called only in the main thread.

Parameters

undo (bool) – Add Character definition to the undo stack before any changes.

Returns

True if successful, otherwise False.

Return type

bool

MTCharacterDefinitionTag.ExtractRestPose(self, undo)

Gets current skeleton pose and set it as rest pose.

Warning

This should be called only in the main thread.

Parameters

undo (bool) – Add Character definition to the undo stack before any changes.

Returns

True if successful, otherwise False.

Return type

bool

MTCharacterDefinitionTag.ApplyRestPose(self, undo)

Applies the current rest pose.

Warning

This should be called only in the main thread.

Parameters

undo (bool) – Add Character definition to the undo stack before any changes.

Returns

True if successful, otherwise False.

Return type

bool

MTCharacterDefinitionTag.ClearRestPose(self, undo)

Clears the current rest pose.

Warning

This should be called only in the main thread.

Parameters

undo (bool) – Add Character definition to the undo stack before any changes.

Returns

True if successful, otherwise False.

Return type

bool

MTCharacterDefinitionTag.CreateSolver(self, undo)

Creates a solver and assign to the object owner.

Warning

This should be called only in the main thread.

Parameters

undo (bool) – Add Character definition to the undo stack before any changes.

Returns

The new created MTCharacterMotionTransferTag.

Return type

c4d.modules.character.MTCharacterMotionTransferTag

MTCharacterDefinitionTag.GetRootBodyPart(self)

Returns a copy of the body part hierarchy.

Returns

The MTCharacterBodyPart.

Return type

c4d.modules.character.MTCharacterBodyPart

MTCharacterDefinitionTag.SetRootBodyPart(self, rootBodyPart)

Sets the body part hierarchy.

Parameters

rootBodyPart (c4d.modules.character.MTCharacterBodyPart) – Represent the BodyPart hierarchy.

Returns

True if successful, otherwise False.

Return type

bool