Skip to content
AlphaToolBox3D is in early alpha: features are incomplete and things can break. Use it at your own risk and keep copies of your files. Report a problem
ToolBox3D

Docs · Python API

tb.ops.controlrig

152 operations. Without targets=, an operation works on the current selection, like its button in the editor.

Add Attribute

tb.ops.controlrig.add_attribute(
    *,
    control: str,
    name: str,
    nice_name: str = "",
    type: Literal["float", "bool", "enum"] = "float",
    default: float = 0.0,
    min: float = ...,
    max: float = ...,
    enum_names: Any = ...,
    keyable: bool = True,
) -> Result

Add a custom attribute to a control: Float (optional minimum / maximum), Boolean or Enum (option names). It shows in the channel box, is set with controlrig.set_attribute, keys in Animation when keyable, and is saved with the rig. One undo step.

  • Operation controlrig.add_attribute
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
namestrrequiredLong name: starts with a letter; letters, digits and _.
nice_namestr""Label in the channel box (empty: derived from the name).
typeLiteral["float", "bool", "enum"]"float"Type (float / bool / enum).
defaultfloat0.0Default value (an enum's option index, a boolean's 0 / 1).
minfloat—Float minimum (absent: none).
maxfloat—Float maximum (absent: none).
enum_namesAny—Enum option names, in order.
keyableboolTrueKeyable.

Add In-between

tb.ops.controlrig.add_inbetween(*, pose: str, name: str = ...) -> Result

A pose between the bind pose and an extreme, at the joints' current pose: it holds a sculpt of its own, and the extreme's weight drives it piecewise along bind → in-between → extreme. One undo step.

  • Operation controlrig.add_inbetween
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredThe extreme, by name or id.
namestr—Default: <extreme>_inbetween.

Add Offset Control

tb.ops.controlrig.add_offset_control(*, controls: Any) -> Result

Give controls an offset control: an animator control around each (1.2× its size, a lighter color) that moves it and everything under it on top of its own animation, for offsets and constraints that layer over a performance. Animator controls only; one undo step.

  • Operation controlrig.add_offset_control
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequiredControl name or list of names.

Add Pose Space

tb.ops.controlrig.add_pose_space(*, drivers: Any, name: str = ...) -> Result

A set of poses that share driver joints and one RBF solver, named after the joints unless a name is given. One undo step.

  • Operation controlrig.add_pose_space
  • In Control Rig
ArgumentTypeDefaultDescription
driversAnyrequiredDriver joint names (1–8).
namestr—Default: from the first driver joint.

Add Poses from Template

tb.ops.controlrig.add_pose_template(
    *,
    region: Literal["leg", "arm", "frontLeg", "hindLeg"],
    joint: str = ...,
) -> Result

A region's extremes, on both sides, as new pose spaces: per leg forward_90, back_45, out_90, out_90_twist, knee_bend_90, knee_bend_140; per arm up_90, forward_90, back_45, elbow_90, elbow_140, wrist_twist_90. The joints are found from the skeleton; adjust the poses, then sculpt them. One undo step.

  • Operation controlrig.add_pose_template
  • In Control Rig
ArgumentTypeDefaultDescription
regionLiteral["leg", "arm", "frontLeg", "hindLeg"]requiredleg, arm, frontLeg or hindLeg. (leg / arm / frontLeg / hindLeg).
jointstr—The limb's first joint, when the skeleton's limbs cannot be recognized; the other side comes from its partner.

Add Space Target

tb.ops.controlrig.add_space_target(
    *,
    control: str,
    kind: Literal["control", "joint", "object"],
    target: str,
    label: str = ...,
) -> Result

Give a control another parent space it can switch to: another control (kind 'control'), a skeleton joint ('joint') or a scene object ('object', pinned where it is now — scene objects are not driven by the rig). The space keeps the offset the control has at the bind pose, so nothing moves when it is added. Refused when the target follows this control (a cycle), is already a space, or the name is taken. Guide or control mode; one undo step.

  • Operation controlrig.add_space_target
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredA control that can switch spaces.
kindLiteral["control", "joint", "object"]requiredKind (control / joint / object).
targetstrrequiredControl, joint or scene object name.
labelstr—Name in the Space list (default: the target's name).

Add Ring

tb.ops.controlrig.add_surface_ring(*, module: str, after: int = ...) -> Result

Add a ring to a Surface Chains module, halfway between two rings: the chains run through every ring, so it shapes the cloth there.

  • Operation controlrig.add_surface_ring
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
afterint—The ring the new one follows (0 is Top; default: the widest gap).

Add Tech Joint

tb.ops.controlrig.add_tech_joint(
    *,
    kind: Literal["twistChain", "stretchChain", "poseReader", "volumeJoint"] = "twistChain",
    source_bone: str = ...,
    end_bone: str = ...,
    joint_count: int = 3,
    mode: Literal["follow", "counter"] = "follow",
    twist_axis: Vec3Like = [1.0, 0.0, 0.0],
    weights: Any = ...,
    auto_weights: bool = True,
    name: str = ...,
    driven_bones: Any = ...,
    end_control: str = ...,
    stretch_blend: float = 1.0,
    min_stretch: float = 1.0,
    max_stretch: float = 1.5,
    volume_preservation: float = 0.5,
    driver_bones: Any = ...,
    push: float = ...,
    in_blend_amount: float = 0.5,
    in_blend_tangent: float = 1.5,
    world_scale: float = 1.0,
    key_poses: Any = ...,
    rbf_opts: Any = ...,
) -> Result

Add a tech joint to the built rig. Twist chain: jointCount joints <source>_twist_NN between a segment's joints share the source joint's twist (follow: the distal joint, e.g. the wrist, on its parent's segment; counter: the proximal joint on its segment to its child), and with autoWeights the segment joint's skin weights move onto them by position along the bone. Stretch chain: existing joints stretch toward an end control. Pose reader: per-key activations of driver joint rotations (RBF) for correctives. The rig is rebuilt in the same undo step.

  • Operation controlrig.add_tech_joint
  • In Control Rig
ArgumentTypeDefaultDescription
kindLiteral["twistChain", "stretchChain", "poseReader", "volumeJoint"]"twistChain"Kind (twistChain / stretchChain / poseReader / volumeJoint).
source_bonestr—Twist: the measured joint. Stretch: the chain root.
end_bonestr—Counter twist: the segment end when the source joint has no or several children.
joint_countint3Joint Count (1…8).
modeLiteral["follow", "counter"]"follow"Mode (follow / counter).
twist_axisVec3Like[1.0, 0.0, 0.0]±cardinal axis in the source joint's frame (stretch: the aim axis).
weightsAny—Per-joint twist fractions (default: the mode's ramp).
auto_weightsboolTrueMove the segment joint's skin weights onto the twist joints.
namestr—Name.
driven_bonesAny—Stretch: the existing joints to stretch.
end_controlstr—Stretch: the end control (name or id), e.g. an IK target.
stretch_blendfloat1.0Stretch Blend (0…1).
min_stretchfloat1.0Min Stretch (0.000001…1000000).
max_stretchfloat1.5Max Stretch (0.000001…1000000).
volume_preservationfloat0.5Volume Preservation (0…1).
driver_bonesAny—Pose reader: the driver joints.
pushfloat—Volume joint: how far a direction joint moves at a full bend that opens its side (default: a tenth of the shorter bone). Writes the rows' inPushAmountDelta banks.
in_blend_amountfloat0.5Volume joint: how far the direction joints turn back from the bend toward its rest. (0…1).
in_blend_tangentfloat1.5Volume joint: the exponent shaping the push over 0..90 degrees (1 linear, 5 late). (1…5).
world_scalefloat1.0Volume joint: multiplies push distances and scale.
key_posesAny—Pose reader: flat xyzw delta-from-rest quaternions, [pose][driver][xyzw].
rbf_optsAny—Pose reader: kernel, distance, sigma, falloffScale, smoothing, normalize, driverWeights ….

Align Guides

tb.ops.controlrig.align_guides(
    *,
    guides: Any = ...,
    to: Literal["line", "plane"] = "line",
    mirror: bool = False,
) -> Result

Line up three or more guides: 'line' puts the middle ones on the line through the first and last (in chain order); 'plane' puts them all on the plane through the first, the last and the one farthest off that line (a finger's knuckles in one bend plane). The first and last stay put. With mirror the opposite-side twins follow. Guide mode only; one undo step.

  • Operation controlrig.align_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAny—Guide names or ids (default: the selected guides).
toLiteral["line", "plane"]"line"To (line / plane).
mirrorboolFalseMirror.

Apply Library Pose

tb.ops.controlrig.apply_pose(
    *,
    pose: str,
    controls: Any = ...,
    mirrored: bool = False,
) -> Result

Pose the rig with a pose from the pose library: every control the pose holds takes its channels; 'controls' limits it to those controls; 'mirrored' puts each control's pose on its opposite-side partner (center controls mirror in place). Changes the rig's posed state, keys nothing. Undoable.

  • Operation controlrig.apply_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose id or name.
controlsAny—Only these controls (names or ids).
mirroredboolFalseMirrored.

Apply T-Pose

tb.ops.controlrig.apply_t_pose() -> Result

Set T-Pose: store the posed skeleton as the character's T-Pose. The guides follow the posed skeleton and the Control Rig builds at the T-Pose (a skeleton without rig modules stays in Skeleton mode showing it); the skeleton keeps its Bind Pose (skinning binds to it), and retargeting starts from the T-Pose. One undo step.

  • Operation controlrig.apply_t_pose
  • In Control Rig

Bake Deformation to Skin

tb.ops.controlrig.bake_deformation(
    *,
    meshes: Sequence[MeshRef] = ...,
    corpus: Any = ...,
    correctives: bool = True,
    modifiers: bool = True,
    rom_samples: int = 3,
    random_poses: int = 20,
    seed: int = 1,
    preserve_original: float = 0.4,
    max_influences: int = 4,
    auto_revert_worse_regions: bool = True,
    locked: Any = ...,
) -> Result

Bake the rig's whole deformation — skin, correctives and the meshes' modifier stacks — into plain skin weights over a pose corpus, for game engines that only play skinning. Per vertex, the weights that best reproduce the deformation over every pose: non-negative, normalized, at most Max Influences, locked joints kept. Preserve Original keeps them close to the current weights (Faithful 0.85, Balanced 0.4, Free 0); vertices the fit would make worse keep theirs. One undo step.

  • Operation controlrig.bake_deformation
  • In Control Rig
ArgumentTypeDefaultDescription
meshesSequence[MeshRef]—Skinned meshes (default: the selected skinned meshes, else all).
corpusAny—Poses to bake ({name, source, enabled, pose}); default: the rig's saved corpus, else a generated one.
correctivesboolTrueBake the rig's corrective shapes.
modifiersboolTrueBake the meshes' modifier stacks.
rom_samplesint3ROM sweep samples per rotate channel (0 = no sweeps). (0…7).
random_posesint20Seeded random combination poses. (0…500).
seedint1The same seed gives the same random poses.
preserve_originalfloat0.40 = free refit … 1 = keep the current weights. (0…1).
max_influencesint4Max Influences (1…8).
auto_revert_worse_regionsboolTrueAuto Revert Worse Regions.
lockedAny—Joint names whose weights stay as they are.

Bake Pose Shape

tb.ops.controlrig.bake_pose_shape(
    *,
    pose: str,
    mesh: str = ...,
    indices: Any,
    offsets: Any,
    gesture: str = ...,
) -> Result

Stores a sculpt of the posed mesh as a pose's shape corrective: offsets[i] moves vertex indices[i] in the posed mesh's space at the pose (replacing its previous sculpt on that mesh); they are inverted through the skinning there into bind-space deltas, so at that pose the mesh shows the sculpt exactly and the RBF fades it in and out. One undo step per stroke.

  • Operation controlrig.bake_pose_shape
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
meshstr—Skinned mesh name or id (default: the first skinned mesh).
indicesAnyrequiredSculpted vertex indices.
offsetsAnyrequiredPosed-space offset [x, y, z] per index.
gesturestr—Coalescing key of one sculpt stroke (its bakes are one undo step).

Blast Skeleton & Skin

tb.ops.controlrig.blast_skeleton() -> Result

Remove the skeleton, every skin weight and the control rig; the meshes stay at rest. Clips that animate them are reconciled when you leave the editor (control-rig clips can be baked first). One undo step.

  • Operation controlrig.blast_skeleton
  • In Control Rig

Cancel Pose Edit

tb.ops.controlrig.cancel_finger_pose_edit() -> Result

Leaves Pose Edit without saving: the hand gets back the pose it had before Pose Edit. One undo step.

  • Operation controlrig.cancel_finger_pose_edit
  • In Control Rig

Cancel Set T-Pose

tb.ops.controlrig.cancel_t_pose_edit() -> Result

Leave Set T-Pose without storing: the stored T-Pose and the guides stay as they were. One undo step.

  • Operation controlrig.cancel_t_pose_edit
  • In Control Rig

Clear Joint Offset

tb.ops.controlrig.clear_joint_offset(*, pose: str, joint: str) -> Result

Removes a joint's offset from a pose. One undo step.

  • Operation controlrig.clear_joint_offset
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
jointstrrequiredThe joint.

Commit Helper Joints

tb.ops.controlrig.commit_helper_joints() -> Result

Add the trained helper joints to the rig in one undo step: the joints join the skeleton under their anchor joints, the mesh gets the solved weights, the model and the helper set are saved on the rig and drive the joints live.

  • Operation controlrig.commit_helper_joints
  • In Control Rig

Compare Deformation

tb.ops.controlrig.compare_deformation(
    *,
    meshes: Sequence[MeshRef] = ...,
    corpus: Any = ...,
    correctives: bool = True,
    modifiers: bool = True,
    rom_samples: int = 3,
    random_poses: int = 20,
    seed: int = 1,
) -> Result

Bake the rig's deformation (skin, correctives, modifier stacks) over a pose corpus and measure how far plain skinning is from it: RMS and max distance per pose and per joint (model units). Nothing changes.

  • Operation controlrig.compare_deformation
  • In Control Rig
ArgumentTypeDefaultDescription
meshesSequence[MeshRef]—Skinned meshes (default: the selected skinned meshes, else all).
corpusAny—Poses to bake ({name, source, enabled, pose}); default: the rig's saved corpus, else a generated one.
correctivesboolTrueBake the rig's corrective shapes.
modifiersboolTrueBake the meshes' modifier stacks.
rom_samplesint3ROM sweep samples per rotate channel (0 = no sweeps). (0…7).
random_posesint20Seeded random combination poses. (0…500).
seedint1The same seed gives the same random poses.

Skin the Face

tb.ops.controlrig.compute_face_weights(
    *,
    module: str = ...,
    mesh: MeshRef = ...,
    max_influences: int = ...,
    lip_split_softness: int = ...,
    lid_split_softness: int = ...,
    lip_falloff: int = ...,
    lid_falloff: int = ...,
    brow_falloff: int = ...,
    lock_edited: bool = True,
    neck_feather: int = ...,
    regions: Any = ...,
) -> Result

Compute the face's skin weights on the built Face module's mesh: the face region (grown from the picked loops over the head, above the neck, feathered into the body over the Neck Feather rings) is split over the lip, lid, crease and brow joints (hat functions along each row, smooth falloff over edge rings: lips 4, lids 3, brows 5 by default), the upper and lower lips and lids never share joints, the rest goes to the head and, under the mouth, the jaw. Weights outside the face region never change. Unset parameters take the Face module's Regions settings. One undo step; the weights stay ordinary skin weights for every skin tool.

  • Operation controlrig.compute_face_weights
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—The Face module (default: the rig's only Face module).
meshMeshRef—The skinned face mesh (default: the skinned mesh the lips were picked on).
max_influencesint—Joints per face vertex (default: the rig's Max Influences, else 8). (1…8).
lip_split_softnessint—Rings the upper and lower lip blend over at the corners (0: a clean split, the default). (0…4).
lid_split_softnessint—Rings the upper and lower lid blend over at the corners (0: a clean split, the default). (0…4).
lip_falloffint—Edge rings the lip weights fade over (default 4). (1…12).
lid_falloffint—Edge rings the lid and crease weights fade over (default 3). (1…12).
brow_falloffint—Edge rings the brow weights fade over (default 5). (1…12).
lock_editedboolTrueKeep the weights of face vertices the artist edited since the last run.
neck_featherint—Edge rings the face blends into the body's weights over at the neck (default 3). (0…12).
regionsAny—Recompute only these region maps (a list of mouth, jaw, eyes, brows); other vertices keep their weights. Default: the whole face region.

Compute Surface Weights

tb.ops.controlrig.compute_surface_weights(
    *,
    module: str,
    mesh: MeshRef = ...,
    max_influences: int = ...,
    lock_edited: bool = True,
) -> Result

Skin a skirt, cape or other cloth from its built Surface Chains grid: each cloth vertex shares its weight among the joints round its place on the grid, and the waistband follows the carrier joint. The Vertex Set {module}.region limits it when the mesh has one; otherwise a separate cloth mesh is taken whole, and on a body mesh only the vertices at the surface change. Everything outside is untouched.

  • Operation controlrig.compute_surface_weights
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
meshMeshRef—The cloth or body mesh (default: the selected mesh).
max_influencesint—Joints per vertex (default 4). (1…4).
lock_editedboolTrueKeep the vertices edited since the last run (default on).

Create Arm

tb.ops.controlrig.create_arm(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Arm module with default guides on the mesh, in guide mode (same as controlrig.create_module type arm). One undo step.

  • Operation controlrig.create_arm
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Arthropod Leg

tb.ops.controlrig.create_arthropod_leg(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Arthropod Leg module with default guides on the mesh, in guide mode (same as controlrig.create_module type arthropodLeg). One undo step.

  • Operation controlrig.create_arthropod_leg
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Constraint

tb.ops.controlrig.create_constraint(
    *,
    expected_asset_revision: int = ...,
    expected_rig: Any = ...,
    expected_revision: int = ...,
    aim_vector: Any = ...,
    up_vector: Any = ...,
    world_up_type: Literal["scene", "object", "objectRotation", "vector", "none"] = ...,
    world_up_vector: Any = ...,
    world_up_object: Any = ...,
    aim_offset: Any = ...,
    name: str = ...,
    targets: Any = ...,
    skip: Any = [],
    skip_rotate: Any = [],
    maintain_offset: bool = False,
    rest_translation: Any = ...,
    rest_rotation: Any = ...,
    rest_scale: Any = ...,
    kind: Literal["point", "orient", "scale", "parent", "aim", "poleVector"] = "point",
    driven: str,
    id: str = ...,
) -> Result
  • Operation controlrig.create_constraint
  • In Control Rig
ArgumentTypeDefaultDescription
expected_asset_revisionint—Optional owning asset revision for optimiztic source-input checks.
expected_rigAny—Optional exact rig UUID; stale dialogs refuse. With no rig, pass expectedRevision 0.
expected_revisionint—Optional current Rig revision; no change is applied after it differs.
aim_vectorAny—Aim only: the driven object's local axis that points at the targets; defaults to [1,0,0].
up_vectorAny—Aim only: the local axis turned toward the world up; defaults to [0,1,0].
world_up_typeLiteral["scene", "object", "objectRotation", "vector", "none"]—Aim only: scene (+Y), object (toward worldUpObject), objectRotation (worldUpObject's rotation applied to worldUpVector), vector (worldUpVector) or none (shortest turn from rest); defaults to scene. (scene / object / objectRotation / vector / none).
world_up_vectorAny—Aim only: world up vector (vector / objectRotation); defaults to [0,1,0].
world_up_objectAny—Aim only: typed {kind:node|bone|control,id} up object for object / objectRotation, or null.
aim_offsetAny—Aim only: unit quaternion [x,y,z,w] applied after the aim; maintainOffset captures it.
namestr—Name.
targetsAny—Ordered 1..8 {source:{kind:node|bone|control,id},weight:1,offset?:[x,y,z],rotationOffset?:[x,y,z,w]} targets. offset is the world offset (Point, Pole Vector), the offset in the target's frame (Parent) or the scale ratio (Scale); rotationOffset is a unit quaternion (Orient/Parent/Scale). Omitted existing offsets remain unchanged.
skipAny[]Unconstrained x/y/z axes of the driven channel (translation for Parent, the world pole position for Pole Vector); defaults to [].
skip_rotateAny[]Parent only: unconstrained rotation axes; defaults to [].
maintain_offsetboolFalseCapture offsets once from the current pose; false clears offsets unless explicitly supplied.
rest_translationAny—Explicit local rest translation held at zero weight; defaults to the object's authored translation.
rest_rotationAny—Explicit local rest rotation in degrees (the object's rotate order); defaults to its authored rotation.
rest_scaleAny—Explicit local rest scale; defaults to the object's authored scale.
kindLiteral["point", "orient", "scale", "parent", "aim", "poleVector"]"point"Point (translate), Orient (rotate), Scale, Parent (translate and rotate), Aim (rotate toward the targets) or poleVector (the IK pole of a built rig's pole control). (point / orient / scale / parent / aim / poleVector).
drivenstrrequiredExact scene object UUID; for poleVector the exact UUID of a pole control that steers an IK chain.
idstr—Optional exact new constraint UUID; collisions refuse. Omitted creates a fresh ID.

Create Digitigrade Leg

tb.ops.controlrig.create_digitigrade_leg(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Digitigrade Leg module with default guides on the mesh, in guide mode (same as controlrig.create_module type digitigradeLeg). One undo step.

  • Operation controlrig.create_digitigrade_leg
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Fin

tb.ops.controlrig.create_fin(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Fin module with default guides on the mesh, in guide mode (same as controlrig.create_module type fin). One undo step.

  • Operation controlrig.create_fin
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create FK Chain

tb.ops.controlrig.create_fk_chain(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a FK Chain module with default guides on the mesh, in guide mode (same as controlrig.create_module type fkChain). One undo step.

  • Operation controlrig.create_fk_chain
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Foot

tb.ops.controlrig.create_foot(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Foot module with default guides on the mesh, in guide mode (same as controlrig.create_module type foot). One undo step.

  • Operation controlrig.create_foot
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Rig From Existing Joints

tb.ops.controlrig.create_from_joints(
    *,
    detector: Literal["auto", "biped", "quad", "centaur", "fullBodyIk"] = "auto",
    include_feet: bool = True,
    include_hands: bool = True,
    name_prefix: str = "",
    replace: bool = False,
    max_influences: int = ...,
    mapping: Any = ...,
    skip_root: bool = False,
    joint_orient_mode: Literal["fromJoints", "guides"] = "fromJoints",
) -> Result

Read the scene's skeleton as a biped or a quadruped (bone names first, then the hierarchy) and create the matching modules with their guides on its joints. Building drives the skeleton's own joints: skin and clips stay bound; unmapped joints are kept; by default the joints keep their orientations, so the bind pose is unchanged. One undo step.

  • Operation controlrig.create_from_joints
  • In Control Rig
ArgumentTypeDefaultDescription
detectorLiteral["auto", "biped", "quad", "centaur", "fullBodyIk"]"auto"Body plan to read the skeleton as (Detect picks the more confident complete one; a centaur — four legs to the ground and arms on a second, upright spine — is read by its shape). Full Body IK puts FK controls on every joint and IK controls on each body part (hips, chest, head, hands, feet, tail), solved as one body; it reads any body plan. (auto / biped / quad / centaur / fullBodyIk).
include_feetboolTrueFoot roll modules where toe joints are found.
include_handsboolTrueHand modules where finger chains are found.
name_prefixstr""Name Prefix.
replaceboolFalseReplace the rig's existing modules (otherwise refused when the rig has modules).
max_influencesint—Joints per vertex for the whole rig's skinning: Bind Skin and Compute Weights default to it (4 when not given). (1…8).
mappingAny—An explicit biped mapping (the Biped Builder's characterization) instead of detection: { root, spine: [..], neck: [..], head, arms: [{ clavicle?, upperArm, foreArm, hand } | null, right], legs: [{ upperLeg, lowerLeg, foot, toe? } | null, right], hands: [{ wrist, fingers: [[name, [bones]]] } | null, right] }.
skip_rootboolFalseBiped: no root joint — the global control is created on its own and the spine starts at the first spine bone and any root bone is left undriven.
joint_orient_modeLiteral["fromJoints", "guides"]"fromJoints"fromJoints (the default, as in the New Rig wizard) keeps the imported joint orientations (the bind pose and existing clips stay exact); guides re-orients the joints to the guides' aim/up convention (cleaner axes; the Animation editor offers to update clips). (fromJoints / guides).

Create Global Control

tb.ops.controlrig.create_global(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Global Control module with default guides on the mesh, in guide mode (same as controlrig.create_module type globalControl). One undo step.

  • Operation controlrig.create_global
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Hand

tb.ops.controlrig.create_hand(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Hand module with default guides on the mesh, in guide mode (same as controlrig.create_module type hand). One undo step.

  • Operation controlrig.create_hand
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Insect Wing

tb.ops.controlrig.create_insect_wing(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Insect Wing module with default guides on the mesh, in guide mode (same as controlrig.create_module type insectWing). One undo step.

  • Operation controlrig.create_insect_wing
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Add Module

tb.ops.controlrig.create_module(
    *,
    type: Literal["globalControl", "singleControl", "fkChain", "splineChain", "surfaceChains", "stretchyAim", "spine", "neckHead", "plantigradeLeg", "digitigradeLeg", "foot", "face", "arm", "hand", "sphereRoll", "squash", "squashSides", "uiSlider", "uiPanel", "vehicle", "wing", "arthropodLeg", "insectWing", "fin", "fullBodyIk", "custom"],
    preset: Literal["tail", "ear", "finger", "tentacle", "whip", "rope", "cable", "chainLink", "skirt", "longSkirt", "cape", "tabard", "hairStrip"] = ...,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "C",
) -> Result

Add a rig module (spine, leg, arm, FK chain, spline chain, surface chains, squash, UI slider, …) with default guides on the mesh, in guide mode. With mirror, the opposite side is created too. A chain preset (tail, ear, finger, tentacle, whip, rope, cable, chainLink, and the surfaceChains skirt, longSkirt, cape and hairStrip) starts from its name, guide count and settings; explicit name, count and settings win. One undo step.

  • Operation controlrig.create_module
  • In Control Rig
ArgumentTypeDefaultDescription
typeLiteral["globalControl", "singleControl", "fkChain", "splineChain", "surfaceChains", "stretchyAim", "spine", "neckHead", "plantigradeLeg", "digitigradeLeg", "foot", "face", "arm", "hand", "sphereRoll", "squash", "squashSides", "uiSlider", "uiPanel", "vehicle", "wing", "arthropodLeg", "insectWing", "fin", "fullBodyIk", "custom"]requiredType.
presetLiteral["tail", "ear", "finger", "tentacle", "whip", "rope", "cable", "chainLink", "skirt", "longSkirt", "cape", "tabard", "hairStrip"]—A preset of the type (a chain body part or prop): its name, guide count and settings are the defaults.
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"C"Side (L / R / C).

Create Neck & Head

tb.ops.controlrig.create_neck_head(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Neck & Head module with default guides on the mesh, in guide mode (same as controlrig.create_module type neckHead). One undo step.

  • Operation controlrig.create_neck_head
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Plantigrade Leg

tb.ops.controlrig.create_plantigrade_leg(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Plantigrade Leg module with default guides on the mesh, in guide mode (same as controlrig.create_module type plantigradeLeg). One undo step.

  • Operation controlrig.create_plantigrade_leg
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Create Pose

tb.ops.controlrig.create_pose(
    *,
    space: str = ...,
    drivers: Any = ...,
    name: str = ...,
    reads: Literal["rotate", "translate", "both"] = ...,
    twist: bool = ...,
) -> Result

A new pose of a space from the joints' current pose (Create from Pose): an extreme, or a twist pose that reads the twist alone and adds on top of the others. One undo step.

  • Operation controlrig.create_pose
  • In Control Rig
ArgumentTypeDefaultDescription
spacestr—Pose space name or id.
driversAny—Instead of a space: the driver joints; the space that reads them, added when missing.
namestr—Default: pose_<n>.
readsLiteral["rotate", "translate", "both"]—What the pose reads (default rotate). (rotate / translate / both).
twistbool—A twist pose (default false).

Create Single Control

tb.ops.controlrig.create_single(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Single Control module with default guides on the mesh, in guide mode (same as controlrig.create_module type singleControl). One undo step.

  • Operation controlrig.create_single
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Sphere Roll

tb.ops.controlrig.create_sphere_roll(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Sphere Roll module with default guides on the mesh, in guide mode (same as controlrig.create_module type sphereRoll). One undo step.

  • Operation controlrig.create_sphere_roll
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Spine

tb.ops.controlrig.create_spine(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Spine module with default guides on the mesh, in guide mode (same as controlrig.create_module type spine). One undo step.

  • Operation controlrig.create_spine
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Stretchy Aim

tb.ops.controlrig.create_stretchy_aim(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Stretchy Aim module with default guides on the mesh, in guide mode (same as controlrig.create_module type stretchyAim). One undo step.

  • Operation controlrig.create_stretchy_aim
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Rig From Template

tb.ops.controlrig.create_template(
    *,
    template: Literal["human", "gorilla", "dogCat", "horseDeer", "centaur", "bear", "elephant", "mouseSquirrel", "kangaroo", "lizard", "frog", "turtle", "bird", "dinosaur", "dragon", "vehicle"],
    options: Any = ...,
    global_scale: float = 1.0,
    name_prefix: str = "",
    overrides: Any = ...,
    forward_axis: Literal["+Z", "-Z", "+X", "-X"] = ...,
    replace: bool = False,
    max_influences: int = ...,
) -> Result

Create a complete rig from a template (Human, Dog & Cat, Horse & Deer, …): every module with its guides at the template's proportions scaled to the mesh, ready to position in guide mode and build. One undo step. From existing joints: see controlrig.create_from_joints.

  • Operation controlrig.create_template
  • In Control Rig
ArgumentTypeDefaultDescription
templateLiteral["human", "gorilla", "dogCat", "horseDeer", "centaur", "bear", "elephant", "mouseSquirrel", "kangaroo", "lizard", "frog", "turtle", "bird", "dinosaur", "dragon", "vehicle"]requiredTemplate.
optionsAny—Template options (joint counts, optional parts); unknown keys are errors. extraParts adds more of any module on top of the template: a list of { kind (arm, plantigradeLeg, digitigradeLeg, arthropodLeg, wing, insectWing, fin, hand, foot, neckHead, fkChain, spine), attach (hips, chest, spine:N, head, or a module name), count?, mirror? (limbs pair by default), layout? (row or radial), joints?, preset? (tail, ear, tentacle …), name? }.
global_scalefloat1.0Global Scale (0.000001…1000000).
name_prefixstr""Name Prefix.
overridesAny—Per-group module settings (see the template's override groups).
forward_axisLiteral["+Z", "-Z", "+X", "-X"]—The character's forward axis (default: the template's). (+Z / -Z / +X / -X).
replaceboolFalseReplace the rig's existing modules (otherwise refused when the rig has modules).
max_influencesint—Joints per vertex for the whole rig's skinning: Bind Skin and Compute Weights default to it (4 when not given). (1…8).

Create Vehicle

tb.ops.controlrig.create_vehicle(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
) -> Result

Add a Vehicle module with default guides on the mesh, in guide mode (same as controlrig.create_module type vehicle). One undo step.

  • Operation controlrig.create_vehicle
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.

Create Wing

tb.ops.controlrig.create_wing(
    *,
    name: str = ...,
    parent: str = ...,
    attach_joint: str = ...,
    settings: Any = ...,
    position: Vec3Like = ...,
    count: int = ...,
    mirror: bool = False,
    from_joints: Any = ...,
    side: Literal["L", "R", "C"] = "L",
) -> Result

Add a Wing module with default guides on the mesh, in guide mode (same as controlrig.create_module type wing). One undo step.

  • Operation controlrig.create_wing
  • In Control Rig
ArgumentTypeDefaultDescription
namestr—Base name (default: the family's).
parentstr—Parent module (id or name).
attach_jointstr—Skeleton joint the module follows (default: the parent's joint nearest the module).
settingsAny—Module settings (validated against the module's schema).
positionVec3Like—Where the module's guides start (default: placed on the mesh).
countint—Chain length for chain modules. (1…64).
mirrorboolFalseAlso create the opposite side (mirrored across X; From Joints: on the mirrored joints).
from_jointsAny—Create the module on the existing skeleton instead of new joints: { start: joint, end?: joint, keepOrientations?: true }. The guides sit on the chain from start to end (fixed limbs walk down from start; chain modules need end or count) and building drives those joints, keeping their bind pose. Refused when the chain does not fit the module or a joint is already driven by another module.
sideLiteral["L", "R", "C"]"L"Side (L / R / C).

Delete Attribute

tb.ops.controlrig.delete_attribute(*, control: str, attr: str) -> Result

Remove a custom attribute added on a control (and its posed value). Keys a clip holds for it stay in the clip, unbound. One undo step.

  • Operation controlrig.delete_attribute
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
attrstrrequiredAttr.

Delete Constraint

tb.ops.controlrig.delete_constraint(
    *,
    expected_asset_revision: int = ...,
    expected_rig: Any = ...,
    expected_revision: int = ...,
    constraint: str,
) -> Result
  • Operation controlrig.delete_constraint
  • In Control Rig
ArgumentTypeDefaultDescription
expected_asset_revisionint—Optional owning asset revision for optimiztic source-input checks.
expected_rigAny—Optional exact rig UUID; stale dialogs refuse. With no rig, pass expectedRevision 0.
expected_revisionint—Optional current Rig revision; no change is applied after it differs.
constraintstrrequiredConstraint.

Delete Driven Keys

tb.ops.controlrig.delete_driven_keys(*, curves: Any = ..., control: str = ...) -> Result

Remove driven key curves: by id, or every curve driving a control. The control returns to its own channels. One undo step.

  • Operation controlrig.delete_driven_keys
  • In Control Rig
ArgumentTypeDefaultDescription
curvesAny—Curve ids.
controlstr—A driven control: all its curves.

Delete Module

tb.ops.controlrig.delete_module(*, module: str) -> Result

Delete a module and its guides. Child modules move to its parent and follow its attach joint. In control mode the rig is rebuilt in the same step: the module's joints leave the skeleton and their skin weights move to the nearest remaining joint. Clips that animate it are reconciled at the next editor switch. Undoable.

  • Operation controlrig.delete_module
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.

Delete Pose

tb.ops.controlrig.delete_pose(*, pose: str) -> Result

Removes a pose with its in-betweens, sculpts and joint offsets. One undo step.

  • Operation controlrig.delete_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.

Delete Pose Space

tb.ops.controlrig.delete_pose_space(*, space: str) -> Result

Removes a pose space with its poses, sculpts and joint offsets. One undo step.

  • Operation controlrig.delete_pose_space
  • In Control Rig
ArgumentTypeDefaultDescription
spacestrrequiredPose space name or id.

Delete Control Rig

tb.ops.controlrig.delete_rig() -> Result

Remove every module, guide and control of the control rig. The joints it built stay as a plain skeleton with their skin weights. Clips that animate the rig are offered a bake to skeleton clips when you leave the editor. One undo step.

  • Operation controlrig.delete_rig
  • In Control Rig

Duplicate Pose

tb.ops.controlrig.duplicate_pose(*, pose: str, name: str = ...) -> Result

A new pose with a pose's settings and joint offsets (not its sculpts) at the joints' current pose: move the joints off the original first. One undo step.

  • Operation controlrig.duplicate_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
namestr—Name.

Edit Attribute

tb.ops.controlrig.edit_attribute(
    *,
    control: str,
    attr: str,
    nice_name: str = ...,
    default: float = ...,
    min: float = ...,
    max: float = ...,
    has_min: bool = ...,
    has_max: bool = ...,
    enum_names: Any = ...,
    keyable: bool = ...,
) -> Result

Change a custom attribute added on a control: label, default, minimum / maximum (hasMin / hasMax false removes one), enum option names, keyable. Parameters left out keep their value; the type stays. One undo step.

  • Operation controlrig.edit_attribute
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
attrstrrequiredAttr.
nice_namestr—Nice Name.
defaultfloat—Default.
minfloat—Min.
maxfloat—Max.
has_minbool—false removes the minimum.
has_maxbool—false removes the maximum.
enum_namesAny—Enum Names.
keyablebool—Keyable.

Edit Driven Key

tb.ops.controlrig.edit_driven_key(
    *,
    curve: str,
    keys: Any = ...,
    tangent: Literal["linear", "smooth", "flat", "step"] = ...,
    pre: Literal["constant", "linear"] = ...,
    post: Literal["constant", "linear"] = ...,
) -> Result

Edit one curve: replace its keys ([[driver value, driven value], …], distinct driver values), its tangents or its infinity. One undo step.

  • Operation controlrig.edit_driven_key
  • In Control Rig
ArgumentTypeDefaultDescription
curvestrrequiredThe curve id (sdk1, …).
keysAny—[[x, y], …] (up to 64).
tangentLiteral["linear", "smooth", "flat", "step"]—Tangent (linear / smooth / flat / step).
preLiteral["constant", "linear"]—Pre (constant / linear).
postLiteral["constant", "linear"]—Post (constant / linear).

Edit Finger Pose

tb.ops.controlrig.edit_finger_pose(
    *,
    module: str,
    pose: Literal["spread", "cup", "thumbAcross", "fist", "curl", "relax"],
) -> Result

Pose Edit of a hand's finger pose: the hand shows the pose at full weight (the other poses at zero) with its finger controls at rest; pose the finger controls, then Save Finger Pose. Control mode. One undo step.

  • Operation controlrig.edit_finger_pose
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Hand module (id or name).
poseLiteral["spread", "cup", "thumbAcross", "fist", "curl", "relax"]requiredCurl, Fist, Spread, Cup, Relax or Thumb Across (the setting's key). (spread / cup / thumbAcross / fist / curl / relax).

Edit Space Target

tb.ops.controlrig.edit_space_target(
    *,
    control: str,
    space: str,
    label: str = ...,
    index: int = ...,
    make_default: bool = ...,
    make_orient_default: bool = ...,
) -> Result

Rename a control's space, move it in the Space list (index 1 = first after World) or make it the space the control starts in (makeDefault; World included). A split space also takes makeOrientDefault, the space it starts turning with. Clip keys follow their space by name at the next editor switch. One undo step.

  • Operation controlrig.edit_space_target
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
spacestrrequiredSpace name or 0-based index.
labelstr—New name.
indexint—New position (1 = first after World). (1…64).
make_defaultbool—Make it the control's default space.
make_orient_defaultbool—Split spaces: make it the space the control starts turning with.

Set T-Pose

tb.ops.controlrig.edit_t_pose() -> Result

Open Set T-Pose: Skeleton mode on the raw skeleton, showing the stored T-Pose (the Bind Pose when there is none), so the joints can be turned into a T-pose (controlrig.pose_joints, snap_t_pose, mirror_t_pose, reset_t_pose) and applied with controlrig.apply_t_pose. Guides waiting in guide mode build first. A skinned mesh follows. One undo step.

  • Operation controlrig.edit_t_pose
  • In Control Rig

Edit Guides

tb.ops.controlrig.enter_guide_mode(*, module: str = ...) -> Result

Return to guide placement. Controls hide (and leave the selection) and the skin shows the rest pose; the skeleton stays until the next build (Build Rig, or leaving the Control Rig editor). One undo step.

  • Operation controlrig.enter_guide_mode
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—Module to edit (selected in the panel).

Build Rig

tb.ops.controlrig.exit_guide_mode() -> Result

Construct every module from its guides and return to posing controls. The skeleton follows the guides; skinned meshes stay bound at rest. Clips that animate changed joints are reconciled at the next editor switch. Leaving the Control Rig editor in guide mode runs it first. One undo step.

  • Operation controlrig.exit_guide_mode
  • In Control Rig

Export Rig Configuration

tb.ops.controlrig.export_rig() -> Result

The rig configuration as a .tbrig file (modules, guides, spaces, tech joints, control edits) to reuse on another character: the result's 'data' is the file text, 'fileName' a suggested name. Changes nothing.

  • Operation controlrig.export_rig
  • In Control Rig

Face Test Pose

tb.ops.controlrig.face_test_pose(
    *,
    pose: Literal["neutral", "blink", "smile", "jawOpen", "brows", "zip"],
    module: str = ...,
    amount: float = 1.0,
) -> Result

Pose the built face in a generated test pose to check its skin and controls: Blink (the upper lids close onto the lower), Smile (the lip corners up and out), Jaw Open (the Jaw module's Open, else the lower lip down), Brows (raised), Zip (the mouth's Zip L and Zip R: the lips seal from the corners), scaled by 'amount'; Neutral puts the face back. The pose is the rig's live, unkeyed pose: it is never saved into a clip. Control mode only; not an undo step.

  • Operation controlrig.face_test_pose
  • In Control Rig
ArgumentTypeDefaultDescription
poseLiteral["neutral", "blink", "smile", "jawOpen", "brows", "zip"]requiredPose (neutral / blink / smile / jawOpen / brows / zip).
modulestr—The Face module (default: the rig's only Face module).
amountfloat1.0Amount (0…1).

Fit Controls to Mesh

tb.ops.controlrig.fit_controls(*, controls: Any = ..., margin: float = 0.1) -> Result

Size controls to the body: each control's shape grows or shrinks until it sits just outside the mesh around it at the bind pose, plus a margin. Picked controls drop the size you gave them so the fit shows; with none picked every control's default is re-fitted and the sizes you set stay. Controls outside the body keep their size. One undo step.

  • Operation controlrig.fit_controls
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAny—Control names or ids (default: every control).
marginfloat0.1How far outside the surface, as a fraction of the reach (0.1 = 10 %). (0…2).

Generate Helper Joints

tb.ops.controlrig.generate_helper_joints(
    *,
    meshes: Sequence[MeshRef] = ...,
    corpus: Any = ...,
    correctives: bool = True,
    modifiers: bool = True,
    rom_samples: int = 3,
    random_poses: int = 20,
    seed: int = 1,
    helpers: int = 8,
    helper_seed: int = 316,
    iterations: int = 40,
    max_influences: int = 8,
) -> Result

Solve helper joints so plain skinning reproduces what correctives and modifier stacks add: the corpus is baked, vertices skinning already fits keep their weights, and up to N joints are seeded where it misses and solved (Dem Bones). The result is kept uncommitted — train, then commit. Changes nothing yet.

  • Operation controlrig.generate_helper_joints
  • In Control Rig
ArgumentTypeDefaultDescription
meshesSequence[MeshRef]—Skinned meshes (default: the selected skinned meshes, else all).
corpusAny—Poses to bake ({name, source, enabled, pose}); default: the rig's saved corpus, else a generated one.
correctivesboolTrueBake the rig's corrective shapes.
modifiersboolTrueBake the meshes' modifier stacks.
rom_samplesint3ROM sweep samples per rotate channel (0 = no sweeps). (0…7).
random_posesint20Seeded random combination poses. (0…500).
seedint1The same seed gives the same random poses.
helpersint8Helper joints to add. (1…32).
helper_seedint316Seed of the helper placement (same seed, same helpers).
iterationsint40Iterations (5…200).
max_influencesint8Max Influences (4…8).

Generate Pose Corpus

tb.ops.controlrig.generate_pose_corpus(
    *,
    rom_samples: int = 3,
    random_poses: int = 20,
    seed: int = 1,
) -> Result

Poses for the Deformation Baker: ROM sweeps (one control and rotate channel at a time, within its limits or a range by its name) plus seeded random combinations. Returns the poses; nothing changes (save them with Save Pose Corpus).

  • Operation controlrig.generate_pose_corpus
  • In Control Rig
ArgumentTypeDefaultDescription
rom_samplesint3ROM sweep samples per rotate channel (0 = no sweeps). (0…7).
random_posesint20Seeded random combination poses. (0…500).
seedint1The same seed gives the same random poses.

Read Scene Constraints

tb.ops.controlrig.get_constraints() -> Result
  • Operation controlrig.get_constraints
  • In Previewer, Model, Control Rig, Animation, Texture Paint

Go to Pose

tb.ops.controlrig.go_to_corrective_pose(*, pose: str, fraction: float = ...) -> Result

Poses the joints at a pose, or part of the way there from the bind pose (the Test slider). Keys nothing. One undo step; slider drags coalesce.

  • Operation controlrig.go_to_corrective_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
fractionfloat—From the bind pose (0) to the pose (1, the default). (0…1).

Go to Pose

tb.ops.controlrig.go_to_pose(*, pose: Literal["bind", "tPose"]) -> Result

Go to Bind Pose (bind: Skeleton mode with the joints at the Bind Pose, the pose skinning binds to) or Go to T-Pose (tPose: the built Control Rig at rest, which stands at the T-Pose; without a built rig, Skeleton mode showing the T-Pose). One undo step.

  • Operation controlrig.go_to_pose
  • In Control Rig
ArgumentTypeDefaultDescription
poseLiteral["bind", "tPose"]requiredbind or tPose. (bind / tPose).

IK/FK Match

tb.ops.controlrig.ik_fk_match(
    *,
    module: str = ...,
    control: str = ...,
    direction: Literal["toggle", "toIK", "toFK"] = "toggle",
) -> Result

Switch an IK/FK limb without a pop: the controls of the target mode are posed on the current pose, then the blend switches. toggle (default) switches to the other mode. Control mode only; one undo step.

  • Operation controlrig.ik_fk_match
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—Limb module (or pass control).
controlstr—Any control of the limb.
directionLiteral["toggle", "toIK", "toFK"]"toggle"Direction (toggle / toIK / toFK).

Import Rig Configuration

tb.ops.controlrig.import_rig(*, data: str) -> Result

Replace the rig's modules with a rig configuration file (.tbrig): modules, guides, spaces, tech joints and control edits, in guide mode, ready to build. Bones the configuration's guides are matched to must exist in the scene's skeleton. One undo step.

  • Operation controlrig.import_rig
  • In Control Rig
ArgumentTypeDefaultDescription
datastrrequiredThe .tbrig file content (JSON).

Import Skeleton

tb.ops.controlrig.import_skeleton(*, staged: str) -> Result

Use the skeleton of a parsed .tbskeleton / FBX / glTF / GLB file on an unrigged model (the target must have no skeleton, skin or rig).

  • Operation controlrig.import_skeleton
  • In Control Rig
ArgumentTypeDefaultDescription
stagedstrrequiredToken from tb_api::stage_import (the parsed file).

List Controls

tb.ops.controlrig.list_controls(
    *,
    module: str = ...,
    tier: Literal["primary", "secondary", "tertiary"] = ...,
    port: str = ...,
    contains: Any = ...,
) -> Result

The rig's animator controls as the outliner groups them: id, name, module (outliner name, arm_L), tier (primary, secondary or tertiary), logical parent, the port its module publishes it as (fingerPose.index.1, settings) and its world position now. Filter by module (id or outliner name, arm_L), tier, port and name texts, then pass the ids to controlrig.select_controls.

  • Operation controlrig.list_controls
  • In Control Rig, Animation
ArgumentTypeDefaultDescription
modulestr—A module id or outliner name (arm_L).
tierLiteral["primary", "secondary", "tertiary"]—Tier (primary / secondary / tertiary).
portstr—Only the control its module publishes as this port (settings, fingerPose.index.1).
containsAny—Only controls whose name contains every one of these texts (["arm", "_ik_"]).

List Driven Keys

tb.ops.controlrig.list_driven_keys(*, control: str = ...) -> Result

The rig's set driven key curves: driver, driven channel, keys [driver value, driven value], tangents and infinity. With control, only the curves it drives or is driven by.

  • Operation controlrig.list_driven_keys
  • In Control Rig
ArgumentTypeDefaultDescription
controlstr—A control name.

List Pose Spaces

tb.ops.controlrig.list_pose_spaces() -> Result

The rig's pose spaces and poses: drivers, kernel; per pose what it reads, its kind (and an in-between's extreme and place), settings, sculpted shapes, offset joints and activation at the current pose. Empty without a rig.

  • Operation controlrig.list_pose_spaces
  • In Control Rig

List Tech Joints

tb.ops.controlrig.list_tech_joints() -> Result

The rig's tech joints: id, kind, name, source joint, driven joints, enabled; twist chains their joint count and mode, helper joints their mode (mlp, baked or off); pose readers also give their activations at the current pose (one per key pose). Empty without a rig.

  • Operation controlrig.list_tech_joints
  • In Control Rig

List Unassigned Joints

tb.ops.controlrig.list_unassigned_joints() -> Result

The skeleton's joint chains no rig module drives yet (a second pair of arms, a tail, extra legs): each with its start and end joint, joint count, side and a suggested module type and preset. Each chain's create holds the controlrig.create_module parameters that make its suggested module on those joints.

  • Operation controlrig.list_unassigned_joints
  • In Control Rig

Mirror Pose

tb.ops.controlrig.mirror_corrective_pose(*, pose: str) -> Result

The pose on the other side, with its in-betweens, sculpts and joint offsets: the drivers map to their partners (in the space that reads them, added when missing), rotations reflect across the X plane and each sculpt reflects across the mesh's symmetry and is inverted at the mirrored pose; midline and unmatched vertices are dropped. A pose of that name there is replaced. One undo step.

  • Operation controlrig.mirror_corrective_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.

Mirror Driven Keys

tb.ops.controlrig.mirror_driven_keys(*, from_: Literal["L", "R"] = "L") -> Result

Copy the driven key curves of one side onto the other: the driven control and a sided driver map to their mirror partners, and the values reflect through the controls' rest frames (never a name swap). Curves already on the other side are replaced. One undo step.

  • Operation controlrig.mirror_driven_keys
  • In Control Rig
ArgumentTypeDefaultDescription
from_Literal["L", "R"]"L"From (L / R).

Mirror Finger Poses

tb.ops.controlrig.mirror_finger_poses(*, module: str) -> Result

Copies a hand's Finger Poses onto the hand of the other side (the module with the same name), reflected across X: edited poses are mirrored, generated ones stay generated on both. One undo step.

  • Operation controlrig.mirror_finger_poses
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe hand to copy from (id or name).

Mirror Pose

tb.ops.controlrig.mirror_pose(
    *,
    controls: Any = ...,
    mode: Literal["toOpposite", "swap"] = "toOpposite",
) -> Result

Mirror the pose of controls (Auto-Rig Pro Mirror Pose): mode toOpposite copies each control's pose onto its opposite-side partner, its own attributes too (a foot's Toes Curl, Spread and Splay, a toe's Tap: the whole toe pose); swap exchanges the two sides and mirrors center controls in place (a flipped pose). Default: the selected controls. Changes the rig's posed state. Undoable.

  • Operation controlrig.mirror_pose
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAny—Control names or ids (default: selected controls).
modeLiteral["toOpposite", "swap"]"toOpposite"Mode (toOpposite / swap).

Mirror T-Pose

tb.ops.controlrig.mirror_t_pose(*, from_: Literal["left", "right"] = ...) -> Result

Set T-Pose: pose the other side like this one, mirrored through the body's middle (from left: the character's left poses its right). Joints without a partner keep their pose. One undo step.

  • Operation controlrig.mirror_t_pose
  • In Control Rig
ArgumentTypeDefaultDescription
from_Literal["left", "right"]—The side copied: left (default) or right. (left / right).

Mirror Tech Joint

tb.ops.controlrig.mirror_tech_joint(*, joint: str) -> Result

Create the opposite-side copy of a twist chain, stretch chain or volume joint: every joint maps to its left / right partner by name (the end control too when it is sided), with the same parameters, weights moved like Add Tech Joint. A volume joint's per-row values mirror with it, and mirroring onto a side that already has one replaces its values. The rig is rebuilt in the same undo step.

  • Operation controlrig.mirror_tech_joint
  • In Control Rig
ArgumentTypeDefaultDescription
jointstrrequiredTech joint name or id.

Move Guides

tb.ops.controlrig.move_guides(
    *,
    guides: Any,
    mirror: bool = False,
    soft_radius: float = 0.0,
    gesture: str = ...,
) -> Result

Set guide world positions / rotations (the guide gizmo). With mirror, each moved guide's opposite-side twin (L ↔ R) takes the mirrored position. With softRadius (Soft Select), the other guides of a moved guide's module chain follow with a smooth falloff over that many guides; the chain's first and last guides stay put. A hand follows its arm: moving the elbow or wrist moves and turns the hand's guides that were not moved themselves. The moved modules re-orient their guides (aim at the child, limb bend plane). Guide mode only. Drags coalesce into one undo step.

  • Operation controlrig.move_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAnyrequired[{ guide, position?, rotation? }].
mirrorboolFalseMirror.
soft_radiusfloat0.0Soft Select falloff in guides along the chain (0: off). (0…10).
gesturestr—Coalescing key of one drag.

Paint Face Region

tb.ops.controlrig.paint_face_region(
    *,
    region: Literal["mouth", "jaw", "eyes", "brows", "face"],
    module: str = ...,
    indices: Any = ...,
    values: Any = ...,
    clear: bool = False,
    grow: int = ...,
    node: str = ...,
    drag: int = ...,
) -> Result

Paint a Face module region map (mouth, jaw, eyes, brows, face): set 'values' (0-1) at vertex 'indices' of the face mesh; a painted value replaces the region's automatic falloff there when the face is skinned (controlrig.compute_face_weights). The face map is the face region itself: 0 leaves a vertex to the body's weights, between feathers into them; 'grow' moves its edge by that many edge rings (negative shrinks). 'clear' forgets the map's paint. Equal 'drag' values coalesce into one undo step (a brush stroke).

  • Operation controlrig.paint_face_region
  • In Control Rig
ArgumentTypeDefaultDescription
regionLiteral["mouth", "jaw", "eyes", "brows", "face"]requiredRegion (mouth / jaw / eyes / brows / face).
modulestr—The Face module (default: the rig's only Face module).
indicesAny—Vertex indices of the face mesh.
valuesAny—One value (0-1) per index.
clearboolFalseClear.
growint—Face map only: edge rings to grow the face region by (negative shrinks). (-12…12).
nodestr—The painted object (the brush sends it; the map belongs to the module).
dragint—Identifies one brush stroke.

Bake Physics to Pose

tb.ops.controlrig.physics_bake(*, module: str = ...) -> Result

Keep what the simulation shows: each simulated control of the module (every module with physics when omitted) takes the channels that put it where it is now, and the simulation resets onto that pose. One undo step.

  • Operation controlrig.physics_bake
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—Module id or name (default: every module with physics).

Collide with Body

tb.ops.controlrig.physics_collide_body(*, module: str, enabled: bool = True) -> Result

Keep a module's simulated chain out of the character: capsules are fitted to the mesh around every bone outside the module (the skinned meshes at their bind pose, else every mesh). Turning it on again refits them; off removes them.

  • Operation controlrig.physics_collide_body
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule id or name.
enabledboolTrueEnabled.

Turn On Physics

tb.ops.controlrig.physics_enable(*, module: str, enabled: bool = True) -> Result

Turn physics on or off for a module (single controls and chains: tails, ears, ropes, skirts, capes, hair). On, every animator control of the module gets a physics group that adds a simulated offset on top of its animation; it starts at the Tail preset and runs live while you pose. One undo step.

  • Operation controlrig.physics_enable
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule id or name.
enabledboolTrueEnabled.

Play / Pause Physics

tb.ops.controlrig.physics_live(*, live: bool = ...) -> Result

Live runs the rig's physics while you pose; Paused holds the simulated offsets where they are. A session setting, not saved and not an undo step.

  • Operation controlrig.physics_live
  • In Control Rig
ArgumentTypeDefaultDescription
livebool—Live (true) or Paused (false); omitted, toggles.

Reset Physics

tb.ops.controlrig.physics_reset() -> Result

Snap the rig's simulation back onto the animation, at rest. Reset to Bind Pose, switching guide or editor mode and rebuilding reset it too. Not an undo step.

  • Operation controlrig.physics_reset
  • In Control Rig

Physics Settings

tb.ops.controlrig.physics_settings(
    *,
    module: str,
    settings: Any = ...,
    colliders: Any = ...,
    excluded: Any = ...,
    gesture: str = ...,
) -> Result

Change a module's physics: preset (Tail, Ponytail, Cape, Skirt, Ears, Antenna, Rope: each sets every setting and the ramp), ramp (the blend from animation into physics along the chain, root to tip: [[x, y], …], 2–16 points), stiffness, damping, gravity, strength, drag, maxDeviation ([root, tip] degrees), wind, windDirection, gusts, floor, floorHeight, jiggle (Translate, Rotate, Both) and iterations; colliders replaces the extra capsule and sphere colliders. Scrubs coalesce into one undo step.

  • Operation controlrig.physics_settings
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule id or name.
settingsAny—Settings to change, by name.
collidersAny—Extra colliders: [{kind: capsule, from, to, radius, radiusTo} | {kind: sphere, joint, radius}].
excludedAny—The module's controls left out of the simulation, by name (they keep their animation and carry the simulated controls below them); replaces the list.
gesturestr—Coalescing key of one scrub.

Physics State

tb.ops.controlrig.physics_state() -> Result

Read the rig's physics: Live or Paused, each module with physics and its settings, the simulated controls and whether the simulation has settled.

  • Operation controlrig.physics_state
  • In Control Rig

Step Physics

tb.ops.controlrig.physics_step(*, frames: int = 1, fps: float = 30.0) -> Result

Advance the rig's simulation by whole animation frames on the current pose, as live playback would (scripts, MCP and tests; it runs Paused too). Not an undo step.

  • Operation controlrig.physics_step
  • In Control Rig
ArgumentTypeDefaultDescription
framesint1Frames to advance (1–1000).
fpsfloat30.0Frames per second (1–240).

Place Guide

tb.ops.controlrig.place_guides(
    *,
    guide: str = ...,
    target: Literal["vertex", "edgeMid", "edgePoint", "faceCentre", "loopCentre", "circleCentre", "sphereCentre", "selectionCentre", "point"],
    mesh: MeshRef = ...,
    vertices: Any = ...,
    edge: Any = ...,
    face: int = ...,
    point: Any = ...,
    mirror: bool = False,
    aim: bool = False,
) -> Result

Put a guide exactly on the mesh where guide mode shows it (world space; a skinned mesh T-posed when the rig has a T-Pose; a pick on a mesh without a skin, the Bind Pose ghost, carries into the T-Pose by the guide's joint): on a vertex or the center of several (vertices), an edge's midpoint (edgeMid) or the point on it nearest 'point' (edgePoint), the center of the edge loop through an edge (loopCentre: a wrist, a wheel hub), the center of the circle through a round edge's loop or three or more rim vertices (circleCentre: a hinge, part of a rim), a face's center (faceCentre), the center of a sphere fitted to an eyeball — the picked face's part or four or more vertices (sphereCentre) — the center of the component selection (selectionCentre), or an exact point. With mirror the opposite-side twin follows. Guide mode only; one undo step.

  • Operation controlrig.place_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidestr—Guide name or id (default: the active guide).
targetLiteral["vertex", "edgeMid", "edgePoint", "faceCentre", "loopCentre", "circleCentre", "sphereCentre", "selectionCentre", "point"]requiredTarget (vertex / edgeMid / edgePoint / faceCentre / loopCentre / circleCentre / sphereCentre / selectionCentre / point).
meshMeshRef—The mesh picked on (mesh targets).
verticesAny—Vertex indices: vertex (their center), circleCentre (three or more), sphereCentre (four or more).
edgeAny—An edge as its two vertex indices [a, b]: edgeMid, edgePoint, loopCentre, circleCentre.
faceint—Face index: faceCentre, sphereCentre (its part).
pointAny—[x, y, z]: the exact point (point), the click to project onto the edge (edgePoint).
mirrorboolFalseMirror.
aimboolFalseWith an 'edge' (edgeMid, edgePoint): also turn the guide so its aim axis runs along the edge, a hinge's pivot (its Auto Orient ends).

Pose Joints

tb.ops.controlrig.pose_joints(*, joints: Any, gesture: str = ...) -> Result

Skeleton mode: set joints' translate / rotate (degrees, XYZ) / scale relative to their bind pose, so the skin follows. Absent channels keep their value. Gizmo drags coalesce into one undo step per gesture.

  • Operation controlrig.pose_joints
  • In Control Rig
ArgumentTypeDefaultDescription
jointsAnyrequired[{ joint, translate?, rotate?, scale? }].
gesturestr—Coalescing key of one drag.

Pose Status

tb.ops.controlrig.pose_status() -> Result

The pose the Control Rig editor shows (bind, tPose, posed or settingTPose), whether a T-Pose is stored, Set T-Pose open, the Bind Pose's arm angle below level and leg angle off straight down (degrees), whether Set T-Pose is suggested (an A-posed model without a T-Pose) and the next rig step (newRig, placeGuides, setTPose or ready).

  • Operation controlrig.pose_status
  • In Control Rig

Quick Position Guides

tb.ops.controlrig.quick_position_guides(
    *,
    guides: Any = ...,
    eye: Any = ...,
    direction: Any = ...,
    mirror: bool = False,
) -> Result

Move guides into the middle of the mesh along the view: each guide goes to the center of the inside span, nearest to it, of the line through it along the view — a guide in front of a leg lands inside that leg. With eye (perspective) the line runs from the camera through the guide; with direction (orthographic) it runs along the view. A guide with no mesh along the view but near the mesh (within a tenth of its size) goes to the center of the span toward its nearest mesh point; guides farther off stay put. A selected arm whose wrist has no mesh along the view swings onto the body (shoulder, elbow, wrist on the arm's center line, the hand turned and sized with it). A guide whose bone runs along the view stays put, a left or right guide stays on its side of the mirror plane, the foot pivots go to the sole under their foot (the heel to its back, the banks to its edges) and the root is left alone. With mirror the opposite-side twins follow; spine COG guides re-center between their first and last guides. Guide mode only; one undo step.

  • Operation controlrig.quick_position_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAny—Guide names or ids (default: the selected guides).
eyeAny—Camera position [x, y, z] (perspective).
directionAny—View direction [x, y, z] (orthographic).
mirrorboolFalseMirror.

Rebalance Skin Weights

tb.ops.controlrig.rebalance_skin_weights(
    *,
    meshes: Sequence[MeshRef] = ...,
    preserve_original: float = 0.4,
    max_influences: int = 4,
    poses: int = 24,
    max_angle: float = 45.0,
    smooth_iterations: int = 30,
    seed: int = 11,
    auto_revert_worse_regions: bool = True,
) -> Result

Refit the skin weights so plain linear-blend skinning reproduces smooth, volume-keeping deformation (the Delta Mush of the current skin) over a corpus of poses. Preserve Original keeps the result close to the current weights (Faithful 0.85, Balanced 0.4, Free 0); regions the refit would make worse keep their weights. One undo step; Revert Skin Rebalance restores the previous weights.

  • Operation controlrig.rebalance_skin_weights
  • In Control Rig
ArgumentTypeDefaultDescription
meshesSequence[MeshRef]—Skinned meshes (default: the selected skinned meshes, else all). Meshes rebalanced together deform as one body.
preserve_originalfloat0.40 = free refit … 1 = keep the current weights. (0…1).
max_influencesint4Max Influences (1…8).
posesint24Poses in the corpus. (4…200).
max_anglefloat45.0Largest joint rotation of the corpus poses (degrees). (5…120).
smooth_iterationsint30Delta Mush strength of the targets. (1…200).
seedint11Seed.
auto_revert_worse_regionsboolTrueAuto Revert Worse Regions.

Re-derive Pose Shapes

tb.ops.controlrig.rederive_pose(*, pose: str = ...) -> Result

Recomputes bind-space deltas from the stored sculpts at the current skin weights (after painting or rebinding), so the posed result stays the sculpt; one pose, or all without one. One undo step.

  • Operation controlrig.rederive_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestr—Pose name or id (default: every pose).

Remove Helper Joints

tb.ops.controlrig.remove_helper_joints() -> Result

Remove the committed helper joints: their weights fold back onto their parent joints, the joints, the model and the helper set are deleted. One undo step.

  • Operation controlrig.remove_helper_joints
  • In Control Rig

Remove Offset Control

tb.ops.controlrig.remove_offset_control(*, controls: Any) -> Result

Take controls' offset controls away (pass the control or its offset control); the offset control's pose goes with it. One undo step.

  • Operation controlrig.remove_offset_control
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequiredControl name or list of names (the controls or their offset controls).

Remove Space Target

tb.ops.controlrig.remove_space_target(*, control: str, space: str) -> Result

Remove one of a control's parent spaces (World always stays). A control posed in that space, or using it as its default, returns to World. Clip keys on it fall back to World at the next editor switch (offered a bake first). One undo step.

  • Operation controlrig.remove_space_target
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
spacestrrequiredSpace name or 0-based index.

Remove Ring

tb.ops.controlrig.remove_surface_ring(*, module: str, ring: int) -> Result

Remove a ring between Top and Hem from a Surface Chains module.

  • Operation controlrig.remove_surface_ring
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
ringintrequiredThe ring (0 is Top).

Remove Tech Joint

tb.ops.controlrig.remove_tech_joint(*, joint: str) -> Result

Remove a tech joint. A twist chain's skin weights return in full to its segment joint and its joints leave the skeleton; chains that drive existing joints delete nothing. The rig is rebuilt in the same undo step.

  • Operation controlrig.remove_tech_joint
  • In Control Rig
ArgumentTypeDefaultDescription
jointstrrequiredTech joint name or id.

Rename Module

tb.ops.controlrig.rename_module(*, module: str, name: str) -> Result

Rename a module: its guides, controls and joints take the new name, and set driven keys, custom attributes, control edits, constraints and the pose follow them (the Control Picker follows when you leave the Control Rig editor). Joints keep their identity, so skin weights stay; clips follow at the next editor switch. In control mode the rig is rebuilt in the same step. One undo step.

  • Operation controlrig.rename_module
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.
namestrrequiredThe new name: starts with a letter; letters, digits and _ (no spaces).

Reset Finger Pose

tb.ops.controlrig.reset_finger_pose(
    *,
    module: str,
    pose: Literal["spread", "cup", "thumbAcross", "fist", "curl", "relax"] = ...,
) -> Result

Returns a hand's pose (or every pose) to the default generated from its fingers. One undo step.

  • Operation controlrig.reset_finger_pose
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Hand module (id or name).
poseLiteral["spread", "cup", "thumbAcross", "fist", "curl", "relax"]—The pose to reset (default: every pose). (spread / cup / thumbAcross / fist / curl / relax).

Reset Guides

tb.ops.controlrig.reset_guides(*, guides: Any = ..., mirror: bool = False) -> Result

Return guides to where their module placed them when it was created (position, and rotation for guides you turned by hand). Resetting a surface's Top or Hem also resets the rings between them. With mirror the opposite-side twins follow. Guide mode only; one undo step.

  • Operation controlrig.reset_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAny—Guide names or ids (default: the selected guides).
mirrorboolFalseMirror.

Reset to Bind Pose

tb.ops.controlrig.reset_pose(*, controls: Any = ..., attributes: bool = False) -> Result

Return controls to their bind pose (all controls, or the listed ones); without a list, Skeleton mode's posed joints and Skeleton Rig mode's posed goals return to bind too. Attribute values are kept unless attributes is set. Undoable.

  • Operation controlrig.reset_pose
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAny—Control names (default: every control).
attributesboolFalseAttributes.

Reset T-Pose

tb.ops.controlrig.reset_t_pose() -> Result

Set T-Pose: every joint back at the Bind Pose (applying then stores no T-Pose: the T-Pose is the Bind Pose). One undo step.

  • Operation controlrig.reset_t_pose
  • In Control Rig

Revert Skin Rebalance

tb.ops.controlrig.revert_skin_rebalance(*, meshes: Sequence[MeshRef] = ...) -> Result

Restore the weights from before the last Rebalance Skin Weights of each mesh, while its skin is unchanged since (otherwise use Undo). One undo step.

  • Operation controlrig.revert_skin_rebalance
  • In Control Rig
ArgumentTypeDefaultDescription
meshesSequence[MeshRef]—Skinned meshes (default: every mesh with a rebalance to revert).

Ring from Edge Loop

tb.ops.controlrig.ring_from_edge_loop(
    *,
    module: str,
    ring: int,
    mesh: MeshRef,
    edge: Any,
) -> Result

Place a ring on an edge loop of the mesh (a waistband, a hem): the ring takes the loop's center, its plane and its shape.

  • Operation controlrig.ring_from_edge_loop
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
ringintrequiredThe ring (0 is Top).
meshMeshRefrequiredThe mesh.
edgeAnyrequiredAn edge of the loop, as its two vertex indices.

Save Finger Pose

tb.ops.controlrig.save_finger_pose(
    *,
    module: str = ...,
    pose: Literal["spread", "cup", "thumbAcross", "fist", "curl", "relax"] = ...,
) -> Result

Saves the finger controls posed in Pose Edit as the pose (their rotations on top of the pose; moves and scales are not part of a pose), leaves Pose Edit: the hand gets back the pose it had before. The rig is rebuilt in the same step. One undo step.

  • Operation controlrig.save_finger_pose
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—The hand in Pose Edit (default: the open one).
poseLiteral["spread", "cup", "thumbAcross", "fist", "curl", "relax"]—Curl, Fist, Spread, Cup, Relax or Thumb Across (the setting's key). (spread / cup / thumbAcross / fist / curl / relax).

Save Pose Corpus

tb.ops.controlrig.save_pose_corpus(*, corpus: Any) -> Result

Store a pose corpus on the rig (the Deformation Baker opens with it). One undo step.

  • Operation controlrig.save_pose_corpus
  • In Control Rig
ArgumentTypeDefaultDescription
corpusAnyrequiredA list of {name, source (rom | random | captured), enabled, pose}.

Select Controls

tb.ops.controlrig.select_controls(
    *,
    controls: Any,
    mode: Literal["replace", "add", "remove", "toggle"] = "replace",
) -> Result

Select rig controls by name or id (an empty list with replace clears). One undo step.

  • Operation controlrig.select_controls
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequiredControls.
modeLiteral["replace", "add", "remove", "toggle"]"replace"Mode (replace / add / remove / toggle).

Select Driver

tb.ops.controlrig.select_driver(*, control: str) -> Result

Select the controls that drive a control through set driven keys.

  • Operation controlrig.select_driver
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.

Select Guides

tb.ops.controlrig.select_guides(
    *,
    guides: Any,
    mode: Literal["replace", "add", "remove", "toggle"] = "replace",
) -> Result

Select module guides by name or id in guide mode (an empty list with replace clears). The last one is the gizmo and channel-box subject. One undo step.

  • Operation controlrig.select_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAnyrequiredGuides.
modeLiteral["replace", "add", "remove", "toggle"]"replace"Mode (replace / add / remove / toggle).

Select Modules

tb.ops.controlrig.select_modules(
    *,
    modules: Any,
    mode: Literal["replace", "add", "remove", "toggle"] = "replace",
) -> Result

Highlight rig modules by id or display name. An empty list with replace clears. One undo step per changed selection.

  • Operation controlrig.select_modules
  • In Control Rig
ArgumentTypeDefaultDescription
modulesAnyrequiredModules.
modeLiteral["replace", "add", "remove", "toggle"]"replace"Mode (replace / add / remove / toggle).

Select Opposite

tb.ops.controlrig.select_opposite(
    *,
    mode: Literal["replace", "add", "remove", "toggle"] = "replace",
) -> Result

Mirror the control selection to the other side (L ↔ R). With add, the opposite controls join the selection. Center controls stay selected. One undo step.

  • Operation controlrig.select_opposite
  • In Control Rig
ArgumentTypeDefaultDescription
modeLiteral["replace", "add", "remove", "toggle"]"replace"Mode (replace / add / remove / toggle).

Set Attribute

tb.ops.controlrig.set_attribute(
    *,
    control: str = ...,
    module: str = ...,
    attr: str,
    value: float,
    gesture: str = ...,
) -> Result

Set an animator attribute: a control's custom attribute (twist, roll, curl, spaceSwitch …) or a module setting attribute (ikFkBlend, showSecondary …). Enumerations take the option index. Space switches set here do not keep the control in place — use controlrig.switch_space for that. Control mode only; scrubs coalesce.

  • Operation controlrig.set_attribute
  • In Control Rig
ArgumentTypeDefaultDescription
controlstr—Control.
modulestr—Module.
attrstrrequiredAttr.
valuefloatrequiredValue.
gesturestr—Gesture.

Set Channel Locks

tb.ops.controlrig.set_channel_locks(
    *,
    control: str,
    channels: Any,
    locked: bool = True,
) -> Result

Lock or unlock transform channels on a control (tx … sz, or 'all'). Locked channels cannot be posed from the gizmo or channel box; the rig can still move them. Undoable.

  • Operation controlrig.set_channel_locks
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
channelsAnyrequired["tx", …] or "all".
lockedboolTrueLocked.

Edit Constraint

tb.ops.controlrig.set_constraint(
    *,
    expected_asset_revision: int = ...,
    expected_rig: Any = ...,
    expected_revision: int = ...,
    aim_vector: Any = ...,
    up_vector: Any = ...,
    world_up_type: Literal["scene", "object", "objectRotation", "vector", "none"] = ...,
    world_up_vector: Any = ...,
    world_up_object: Any = ...,
    aim_offset: Any = ...,
    name: str = ...,
    targets: Any = ...,
    skip: Any = ...,
    skip_rotate: Any = ...,
    maintain_offset: bool = ...,
    rest_translation: Any = ...,
    rest_rotation: Any = ...,
    rest_scale: Any = ...,
    driven: str = ...,
    constraint: str,
) -> Result
  • Operation controlrig.set_constraint
  • In Control Rig
ArgumentTypeDefaultDescription
expected_asset_revisionint—Optional owning asset revision for optimiztic source-input checks.
expected_rigAny—Optional exact rig UUID; stale dialogs refuse. With no rig, pass expectedRevision 0.
expected_revisionint—Optional current Rig revision; no change is applied after it differs.
aim_vectorAny—Aim only: the driven object's local axis that points at the targets; defaults to [1,0,0].
up_vectorAny—Aim only: the local axis turned toward the world up; defaults to [0,1,0].
world_up_typeLiteral["scene", "object", "objectRotation", "vector", "none"]—Aim only: scene (+Y), object (toward worldUpObject), objectRotation (worldUpObject's rotation applied to worldUpVector), vector (worldUpVector) or none (shortest turn from rest); defaults to scene. (scene / object / objectRotation / vector / none).
world_up_vectorAny—Aim only: world up vector (vector / objectRotation); defaults to [0,1,0].
world_up_objectAny—Aim only: typed {kind:node|bone|control,id} up object for object / objectRotation, or null.
aim_offsetAny—Aim only: unit quaternion [x,y,z,w] applied after the aim; maintainOffset captures it.
namestr—Name.
targetsAny—Ordered 1..8 {source:{kind:node|bone|control,id},weight:1,offset?:[x,y,z],rotationOffset?:[x,y,z,w]} targets. offset is the world offset (Point, Pole Vector), the offset in the target's frame (Parent) or the scale ratio (Scale); rotationOffset is a unit quaternion (Orient/Parent/Scale). Omitted existing offsets remain unchanged.
skipAny—Unconstrained x/y/z axes of the driven channel (translation for Parent, the world pole position for Pole Vector); defaults to [].
skip_rotateAny—Parent only: unconstrained rotation axes; defaults to [].
maintain_offsetbool—Capture offsets once from the current pose; false clears offsets unless explicitly supplied.
rest_translationAny—Explicit local rest translation held at zero weight; defaults to the object's authored translation.
rest_rotationAny—Explicit local rest rotation in degrees (the object's rotate order); defaults to its authored rotation.
rest_scaleAny—Explicit local rest scale; defaults to the object's authored scale.
drivenstr—Optional new exact scene object UUID; captures its authored rest channels.
constraintstrrequiredConstraint.

Edit Control Shape

tb.ops.controlrig.set_control_appearance(
    *,
    controls: Any,
    shape: Literal["circle", "circleX", "circleY", "circleZ", "square", "cube", "diamond", "arrow", "fourArrow", "doubleArrow", "cylinder", "cylinderX", "cross", "sphere", "pin", "cog", "dome"] = ...,
    size: float = ...,
    color: Color3 = ...,
    offset: Any = ...,
    reset: bool = False,
    gesture: str = ...,
) -> Result

Change how controls are drawn: shape, size, color and the shape offset (tx/ty/tz, rx/ry/rz degrees, sx/sy/sz). Display only — the rig and animation are unchanged. Kept across rebuilds. Drags coalesce.

  • Operation controlrig.set_control_appearance
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequiredControls.
shapeLiteral["circle", "circleX", "circleY", "circleZ", "square", "cube", "diamond", "arrow", "fourArrow", "doubleArrow", "cylinder", "cylinderX", "cross", "sphere", "pin", "cog", "dome"]—Shape.
sizefloat—Size (0.000001…1000000).
colorColor3—Color.
offsetAny—{ tx, ty, tz, rx, ry, rz, sx, sy, sz } (channels left out keep their value).
resetboolFalseBack to the module's look.
gesturestr—Gesture.

Pose Controls

tb.ops.controlrig.set_control_channels(*, controls: Any, gesture: str = ...) -> Result

Set controls' local translate / rotate (degrees, in the control's rotation order) / scale. Locked channels keep their value (reported), limits clamp. Control mode only. Gizmo drags coalesce into one undo step per gesture.

  • Operation controlrig.set_control_channels
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequired[{ control, translate?, rotate?, scale? }].
gesturestr—Coalescing key of one drag.

Set Pivot Control

tb.ops.controlrig.set_control_pivot(*, controls: Any, pivot: bool = True) -> Result

Give controls a Pivot control (pivot true) or take it away (false): a small sphere in the Pivot tier that the animator moves and keys to change where the control turns and scales; turning one on shows its module's Pivot tier. At rest it sits on the control, so nothing moves. Saved with the rig; one undo step that rebuilds the rig.

  • Operation controlrig.set_control_pivot
  • In Control Rig
ArgumentTypeDefaultDescription
controlsAnyrequiredControl name or list of names.
pivotboolTruetrue adds the Pivot control, false removes it.

Set Mirror Naming

tb.ops.controlrig.set_corrective_mirror_rules(*, rules: Any) -> Result

The naming rules Mirror Pose pairs sides by, tried in order: each swaps a left piece of a name for its right piece and back, anywhere in the name, at its start or at its end. The first swap that names an existing joint wins; with none, the automatic side words are used. An empty list (or reset) restores the defaults (_L_ / _R_ anywhere, _L / _R at the end, L_ / R_ at the start, Left / Right, left / right). One undo step.

  • Operation controlrig.set_corrective_mirror_rules
  • In Control Rig
ArgumentTypeDefaultDescription
rulesAnyrequired[{ left, right, at: anywhere | start | end }], in order; [] for the defaults.

Set Display Switch

tb.ops.controlrig.set_display_switch(*, control: str, attr: str, value: float) -> Result

Set an imported rig's display switch to a value, as the attribute in Maya (e.g. control options_CTRL, attr proxyMode, value 1 for on; an enum switch takes its field's value): the objects that state shows are shown and the switch's others hidden. Only visibility changes, so it works in Reference documents. One undo step.

  • Operation controlrig.set_display_switch
  • In Previewer, Control Rig, Animation
ArgumentTypeDefaultDescription
controlstrrequiredThe switch's control (options_CTRL).
attrstrrequiredThe switch's attribute (proxyMode).
valuefloatrequiredThe attribute's value: 0 off and 1 on for a bool, the field's value for an enum.

Set Driven Key

tb.ops.controlrig.set_driven_key(
    *,
    driver: Any,
    driven: Any,
    tangent: Literal["linear", "smooth", "flat", "step"] = ...,
    infinity: Literal["constant", "linear"] = ...,
    rest: bool = False,
) -> Result

Key the driven controls' channels at the driver's current value. Pose the driver (a slider, a control's channel or attribute) and the driven controls, then key: each driven channel's pose moves into its curve, so nothing jumps, and the curve drives the control from now on (its own channels stay free on top). A new curve starts from a rest key (the driver at rest, the channel at rest), so one key makes a working driven key. rest keys the rest values at the driver's rest. One undo step.

  • Operation controlrig.set_driven_key
  • In Control Rig
ArgumentTypeDefaultDescription
driverAnyrequired{"control": name, "attr": "ty" | an attribute name}.
drivenAnyrequired[{"control": name, "channels": ["tx", …]}] (default channels: the ones posed away from rest or already keyed from this driver), , blendshape targets [{"mesh": name, "targets": [name, …]}] (default targets: the ones posed with Set Blendshape Weight or already keyed from this driver), and corrective poses [{"pose": name or id, "weight": 0..1}] (the weight the pose takes at this driver value, default 1; it adds to the pose reader's weight).
tangentLiteral["linear", "smooth", "flat", "step"]—New curves' tangents (default linear). (linear / smooth / flat / step).
infinityLiteral["constant", "linear"]—New curves' infinity before and after their keys (default constant). (constant / linear).
restboolFalseKey the rest values at the driver's rest value (Key Rest).

Set Editor Mode

tb.ops.controlrig.set_editor_mode(
    *,
    mode: Literal["skeleton", "controlRig", "skeletonRig", "correctives"],
) -> Result

Choose what drives the joints in the Control Rig editor: skeleton (the joints alone, posed directly), controlRig (the control rig) or skeletonRig (the full-body IK rig, posed through its goals with bodyrig.goal_set). The pose snaps back to the bind pose and the selection follows (controls become the joints they drive, joints the controls that drive them or the goals on them, goals their joints). One undo step; refused, with the reason and its fix, for a mode the scene cannot use.

  • Operation controlrig.set_editor_mode
  • In Control Rig
ArgumentTypeDefaultDescription
modeLiteral["skeleton", "controlRig", "skeletonRig", "correctives"]requiredskeleton, controlRig, skeletonRig or correctives. (skeleton / controlRig / skeletonRig / correctives).

Face Separate Meshes

tb.ops.controlrig.set_face_parts(
    *,
    module: str = ...,
    eyes: Any = ...,
    teeth: Any = ...,
    tongue: Any = ...,
    lashes: Any = ...,
) -> Result

Name the face's separate meshes for controlrig.compute_face_weights: eyes (rigid to the nearest eye joint), teeth (upper or lower teeth joint by height; Build Rig also fits the lips' teeth collider to the front of these meshes), tongue (along the tongue chain), lashes (and eyebrow hair: each vertex takes the closest point of the face's skinned surface). Each takes a list of mesh ids; an empty list clears it; omitted parts keep theirs. One undo step.

  • Operation controlrig.set_face_parts
  • In Control Rig
ArgumentTypeDefaultDescription
modulestr—The Face module (default: the rig's only Face module).
eyesAny—Eyes mesh ids.
teethAny—Teeth mesh ids.
tongueAny—Tongue mesh ids.
lashesAny—Lashes & Brow Hair mesh ids.

Face Pick

tb.ops.controlrig.set_face_pick(
    *,
    region: Literal["lips", "lidL", "lidR", "creaseL", "creaseR", "browL", "browR", "eyeL", "eyeR"],
    module: str = ...,
    mesh: str = ...,
    edges: Any = ...,
    line: Literal["upper", "lower"] = ...,
    clear: bool = False,
    mirror: bool = True,
) -> Result

Pick a face region's loop on the mesh for the Face module: the lip seal, a lid or crease loop (one edge walks the whole ring), a brow line (one edge walks it to its ends), or an eyeball (one edge picks its whole connected piece; the lids slide over the sphere fitted to it). Takes 'mesh' and 'edges' (edge indices), else the selected edges; 'clear' forgets the pick. A left or right pick also fills the other side, mirrored across X, while that side has no pick of its own ('mirror', on by default). A lid's pick also places its crease a quarter of the lid's width out from the lid, until a crease is picked. Guide mode only; one undo step; the region builds from it when the rig builds.

  • Operation controlrig.set_face_pick
  • In Control Rig
ArgumentTypeDefaultDescription
regionLiteral["lips", "lidL", "lidR", "creaseL", "creaseR", "browL", "browR", "eyeL", "eyeR"]requiredRegion (lips / lidL / lidR / creaseL / creaseR / browL / browR / eyeL / eyeR).
modulestr—The Face module (default: the rig's only Face module).
meshstr—Mesh id, with 'edges'.
edgesAny—Edge indices of 'mesh'.
lineLiteral["upper", "lower"]—Snap one line of a ring region (lips, lid, crease) to the edges, in place of walking a whole ring: for a loop one click cannot walk. The ring builds from both lines; the other line comes from its own snap, else from the region's picked ring. (upper / lower).
clearboolFalseClear.
mirrorboolTrueFill the other side's empty pick with this one mirrored across X.

Set Guide Attributes

tb.ops.controlrig.set_guide_attributes(
    *,
    guide: str,
    twist: float = ...,
    auto_orient: bool = ...,
    auto_plane: bool = ...,
    shared_orient: bool = ...,
    gesture: str = ...,
) -> Result

Set a guide's twist (degrees about its aim axis, while auto-orient is on), auto-orient (aim at its child automatically; not on single-guide modules), auto-plane (keep a mid-chain guide on its chain's plane) or, on hand modules, shared orient (one up direction per finger). The module re-orients. Guide mode only; a twist drag is one undo step.

  • Operation controlrig.set_guide_attributes
  • In Control Rig
ArgumentTypeDefaultDescription
guidestrrequiredGuide.
twistfloat—Degrees about the aim axis.
auto_orientbool—Auto Orient.
auto_planebool—Auto Plane.
shared_orientbool—Hand modules only.
gesturestr—Coalescing key of one drag.

Set Helper Mode

tb.ops.controlrig.set_helper_mode(*, mode: Literal["learned", "baked", "off"]) -> Result

How the committed helper joints move: Learned (the trained network drives them from the driver joints), Baked or Off (they hold their bind). Undoable.

  • Operation controlrig.set_helper_mode
  • In Control Rig
ArgumentTypeDefaultDescription
modeLiteral["learned", "baked", "off"]requiredMode (learned / baked / off).

Hinge Axis

tb.ops.controlrig.set_hinge_axis(
    *,
    guide: str = ...,
    axis: Any = ...,
    reset: bool = False,
) -> Result

A Mechanical limb joint's hinge, from the mesh: the axis of the circle through the selected edge loop (a joint's round housing), or along one selected edge (its pin); 'axis' sets it exactly, 'reset' goes back to the hinge from the guides. Guide mode only; one undo step; the joint's FK control turns about it and its range closes the joint the way it bends.

  • Operation controlrig.set_hinge_axis
  • In Control Rig
ArgumentTypeDefaultDescription
guidestr—Guide name or id (default: the active guide).
axisAny—[x, y, z]: the hinge axis exactly (world), instead of the selection.
resetboolFalseReset.

Set Joint Offset

tb.ops.controlrig.set_joint_offset(
    *,
    pose: str,
    joint: str,
    translate: Any = ...,
    rotate: Any = ...,
    scale: Any = ...,
    gesture: str = ...,
) -> Result

A joint corrective: moves a tech joint at a pose, on the offset group above the joint, in its bind frame, so its driver keeps writing the joint and nothing fights. Weighted by the pose's RBF weight, summed over poses. One undo step; drags coalesce.

  • Operation controlrig.set_joint_offset
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
jointstrrequiredThe joint.
translateAny—[x, y, z] in the joint's bind frame.
rotateAny—[x, y, z] degrees (XYZ).
scaleAny—[x, y, z].
gesturestr—Coalescing key of one drag.

Set Max Influences

tb.ops.controlrig.set_max_influences(*, max_influences: int) -> Result

Set the rig's skin influence limit (1-8 joints per vertex): the default of Bind Skin, Compute Weights and face skinning. Existing weights are not changed (Limit Influences does that). One undo step.

  • Operation controlrig.set_max_influences
  • In Control Rig
ArgumentTypeDefaultDescription
max_influencesintrequiredMax Influences (1…8).

Set Module Parent

tb.ops.controlrig.set_module_parent(
    *,
    module: str,
    parent: str = ...,
    attach_joint: str = ...,
) -> Result

Parent Setup: change the module a module follows and the skeleton joint it attaches to. A new parent attaches the module to that parent's joint nearest it unless attachJoint is given; an empty parent makes it a root module. Refused for the Global Control, for the module itself or one below it (a loop) and for its own joints. In control mode the rig is rebuilt in the same step. One undo step.

  • Operation controlrig.set_module_parent
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.
parentstr—Parent module (id or name); empty: none.
attach_jointstr—Skeleton joint it follows; empty: none.

Set Module Visibility

tb.ops.controlrig.set_module_visibility(*, module: str, visible: bool = ...) -> Result

Show or hide a module's controls and joints in the viewport (display only, undoable).

  • Operation controlrig.set_module_visibility
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.
visiblebool—Visible.

Set Pose

tb.ops.controlrig.set_pose(
    *,
    pose: str,
    name: str = ...,
    reads: Literal["rotate", "translate", "both"] = ...,
    radius: float = ...,
    enabled: bool = ...,
    gain: float = ...,
    curve: Literal["linear", "smooth", "easeIn", "easeOut"] = ...,
) -> Result

A pose's settings: name, what it reads, radius, on or off, gain and weight curve. One undo step; drags coalesce.

  • Operation controlrig.set_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
namestr—Name.
readsLiteral["rotate", "translate", "both"]—Reads (rotate / translate / both).
radiusfloat—Kernel reach in radians; 0 goes back to automatic (the nearest other pose).
enabledbool—Enabled.
gainfloat—Gain (0…1).
curveLiteral["linear", "smooth", "easeIn", "easeOut"]—Curve (linear / smooth / easeIn / easeOut).

Set Pose Space

tb.ops.controlrig.set_pose_space(
    *,
    space: str,
    name: str = ...,
    kernel: Literal["gaussian", "thinPlate"] = ...,
    export_form: Literal["blendshapes", "jointsAndSkinning"] = ...,
    smoothing: float = ...,
) -> Result

A pose space's name, solver kernel and smoothing. One undo step; drags coalesce.

  • Operation controlrig.set_pose_space
  • In Control Rig
ArgumentTypeDefaultDescription
spacestrrequiredPose space name or id.
namestr—Name.
kernelLiteral["gaussian", "thinPlate"]—Kernel (gaussian / thinPlate).
export_formLiteral["blendshapes", "jointsAndSkinning"]—What interchange exports write for this space's shapes. (blendshapes / jointsAndSkinning).
smoothingfloat—Regularisation: 0 reproduces every pose exactly. (0…1).

Set Blendshape Weight

tb.ops.controlrig.set_shape_weight(
    *,
    mesh: str,
    target: str,
    weight: float,
    gesture: str = ...,
) -> Result

Pose a blendshape target's weight in the Control Rig, on top of its default weight and its set driven keys. Set Driven Key then keys it at the driver's value. One undo step; drags coalesce.

  • Operation controlrig.set_shape_weight
  • In Control Rig
ArgumentTypeDefaultDescription
meshstrrequiredThe mesh (name or id).
targetstrrequiredThe blendshape target's name.
weightfloatrequiredThe weight the target shows: 0 is the Base, 1 the full target. (factor; -10…10).
gesturestr—Gesture.

Split Spaces

tb.ops.controlrig.set_space_kind(
    *,
    control: str,
    kind: Literal["parent", "split"],
) -> Result

Choose whether a control moves and turns with one space (parent) or with two (split): its Space switch then picks what it moves with and its Orient Space switch what it turns with, over the same spaces. The head, IK hands and eye master start split. One undo step.

  • Operation controlrig.set_space_kind
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
kindLiteral["parent", "split"]requiredKind (parent / split).

Shrink-wrap Ring

tb.ops.controlrig.shrink_wrap_ring(
    *,
    module: str,
    ring: int,
    mesh: MeshRef = ...,
) -> Result

Snap one ring onto the mesh: each of its points casts a ray outward from the ring's center and lands just outside what it hits. Points that hit nothing stay.

  • Operation controlrig.shrink_wrap_ring
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
ringintrequiredThe ring (0 is Top).
meshMeshRef—The cloth mesh (default: every mesh).

Skirt Leg Radii

tb.ops.controlrig.skirt_leg_radii(
    *,
    module: str,
    radii: Any = ...,
    refit: bool = False,
    gesture: str = ...,
) -> Result

Set a Surface Chains skirt's leg collision radii by hand: radii is the thigh, shin and foot capsules' start and end radii, left leg then right (12 numbers, metres; 0 keeps the module's own guess). Build Rig then keeps them instead of measuring the leg skin again. refit: true hands them back to Build Rig's fit (the next Build Rig measures the legs). Scrubs coalesce into one undo step.

  • Operation controlrig.skirt_leg_radii
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe skirt module, by id or name.
radiiAny—12 radii: per leg (left, right) thigh start, thigh end, shin start, shin end, foot start, foot end.
refitboolFalseRefit.
gesturestr—Coalescing key of one scrub.

Slide Guides

tb.ops.controlrig.slide_guides(
    *,
    guides: Any = ...,
    position: float,
    mirror: bool = False,
    gesture: str = ...,
) -> Result

Slide guides along their chain: 'position' is where each sits between the guide before it (0) and the guide after it (1); its offset off that line stays, so a bent elbow stays bent. With mirror the opposite-side twins follow. Guide mode only; scrubs coalesce into one undo step.

  • Operation controlrig.slide_guides
  • In Control Rig
ArgumentTypeDefaultDescription
guidesAny—Guide names or ids (default: the selected guides).
positionfloatrequiredPosition (0…1).
mirrorboolFalseMirror.
gesturestr—Coalescing key of one scrub.

Snap to T-Pose

tb.ops.controlrig.snap_t_pose(*, part: Literal["arms", "legs"]) -> Result

Set T-Pose: turn each arm at the shoulder straight out to its side, level (part arms), or each leg at the hip straight down (part legs), keeping the elbow or knee bend. One undo step.

  • Operation controlrig.snap_t_pose
  • In Control Rig
ArgumentTypeDefaultDescription
partLiteral["arms", "legs"]requiredarms or legs. (arms / legs).

Sculpt Pose Shape

tb.ops.controlrig.stroke_pose_shape(
    *,
    pose: str,
    mesh: str = ...,
    brush_type: Literal["clay", "brush", "move", "drag", "smooth", "inflate", "nudge", "flatten", "planar", "crease", "pinch", "layer"] = "move",
    points: Any,
    radius: float = ...,
    strength: float = 0.5,
    view_direction: Vec3Like = ...,
    sub: bool = False,
    smooth: bool = False,
    symmetry: bool = False,
) -> Result

Sculpts a pose's shape with a sculpt brush: the stroke runs on the mesh as it shows at the pose (skinned, with this pose's sculpt so far) along mesh-space points, and the result becomes the pose's sculpt. One undo step.

  • Operation controlrig.stroke_pose_shape
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.
meshstr—Skinned mesh name or id (default: the first skinned mesh).
brush_typeLiteral["clay", "brush", "move", "drag", "smooth", "inflate", "nudge", "flatten", "planar", "crease", "pinch", "layer"]"move"Brush Type (clay / brush / move / drag / smooth / inflate / nudge / flatten / planar / crease / pinch / layer).
pointsAnyrequired[[x, y, z], …] mesh-space points along the stroke, on the posed mesh.
radiusfloat—Brush radius in mesh units (default 5 % of the mesh size). (0.000001…1000000).
strengthfloat0.5Strength (0…1).
view_directionVec3Like—Direction the stroke is seen along (default: against the surface normal under the first point).
subboolFalseThe brush's inverse (Ctrl).
smoothboolFalseSmooth instead (Shift).
symmetryboolFalseMirror the stroke across X, matched on the mesh's rest shape (works on any pose).

Surface Test Pose

tb.ops.controlrig.surface_test_pose(
    *,
    module: str,
    pose: Literal["neutral", "walk", "stride", "sit", "kneel", "highKick", "turn", "shrug"],
    amount: float = 1.0,
) -> Result

Pose the body round a built Surface Chains module to check the cloth: Walk, Stride, Sit, Kneel and Kick (a high kick) move the rig's feet and hips, Turn twists the hips, Shrug raises the clavicles, all scaled by 'amount'; Neutral puts the body back. The pose is the rig's live, unkeyed pose: it is never saved into a clip. Control mode only; not an undo step.

  • Operation controlrig.surface_test_pose
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredThe Surface Chains module.
poseLiteral["neutral", "walk", "stride", "sit", "kneel", "highKick", "turn", "shrug"]requiredPose (neutral / walk / stride / sit / kneel / highKick / turn / shrug).
amountfloat1.0Amount (0…1).

Switch Module Version

tb.ops.controlrig.switch_module_version(*, module: str, to_version: int = ...) -> Result

Switch a module to another registered version of its family (default: the latest). Guides and identity are kept; settings the new version declares keep their value. In control mode the rig is rebuilt; clips re-link by stable control id at the next switch. Undoable.

  • Operation controlrig.switch_module_version
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.
to_versionint—To Version (1…1000).

Switch Space

tb.ops.controlrig.switch_space(
    *,
    control: str,
    space: str = ...,
    orient_space: str = ...,
    keep_world: bool = True,
) -> Result

Switch a control's space (by label, e.g. 'World', 'COG', or index). A control with split spaces (head, IK hand, eye master) also takes orientSpace, the space it turns with; space then picks the one it moves with. With keepWorld (default) the control stays where it is: its channels are re-solved in the new space. Control mode only; one undo step.

  • Operation controlrig.switch_space
  • In Control Rig
ArgumentTypeDefaultDescription
controlstrrequiredControl.
spacestr—Space label or 0-based index (what the control moves with, or both for a parent space).
orient_spacestr—Split spaces: the space label or index the control turns with.
keep_worldboolTrueKeep World.

Train Helper Joints

tb.ops.controlrig.train_helper_joints(
    *,
    epochs: int = 300,
    hidden: int = 128,
    seed: int = 316,
) -> Result

Train the network that drives the generated helper joints from the driver joints' rotations, on the corpus poses (best held-out error kept, 120 s cap). Changes nothing yet — commit next.

  • Operation controlrig.train_helper_joints
  • In Control Rig
ArgumentTypeDefaultDescription
epochsint300Epochs (10…2000).
hiddenint128Hidden (16…256).
seedint316Seed.

Transfer Rig to Target Mesh

tb.ops.controlrig.transfer_to_mesh(
    *,
    target: str,
    cage: str = ...,
    matching: Literal["auto", "index", "uv", "closest"] = "auto",
    dry_run: bool = False,
) -> Result

Move the rig onto another character mesh: the guides are wrapped from the mesh the rig was made on (the cage; default: the best-skinned mesh) onto the target, joints and bind matrices follow, and a built rig is rebuilt. One undo step. dryRun returns the report (guides moved, confidence, old and new guide positions) without changing anything. To refit after editing the cage mesh itself, edit it in Model: the editor switch offers the wrap.

  • Operation controlrig.transfer_to_mesh
  • In Control Rig
ArgumentTypeDefaultDescription
targetstrrequiredThe mesh to move the rig onto (name or id).
cagestr—The mesh the rig fits now (default: the best-skinned mesh).
matchingLiteral["auto", "index", "uv", "closest"]"auto"How cage and target points correspond. (auto / index / uv / closest).
dry_runboolFalseDry Run.

Update Module Settings

tb.ops.controlrig.update_module_settings(*, module: str, settings: Any) -> Result

Change module settings (validated against the module's schema; settings fixed at creation are refused with the reason). Axis changes re-orient the module's guides. In control mode the rig is rebuilt in the same step. Slider drags coalesce into one undo step.

  • Operation controlrig.update_module_settings
  • In Control Rig
ArgumentTypeDefaultDescription
modulestrrequiredModule.
settingsAnyrequiredSettings.

Update Pose

tb.ops.controlrig.update_pose(*, pose: str) -> Result

Stores the joints' current pose into a pose. Its sculpts stay, re-inverted at the new pose. One undo step.

  • Operation controlrig.update_pose
  • In Control Rig
ArgumentTypeDefaultDescription
posestrrequiredPose name or id.

Update Tech Joint

tb.ops.controlrig.update_tech_joint(
    *,
    joint: str,
    params: Any = ...,
    enabled: bool = ...,
    name: str = ...,
) -> Result

Change a tech joint: only the parameters given change (validated); enabled turns it on or off (a disabled chain keeps its joints at bind); name renames it. A twist chain whose count, mode or segment changes is regenerated: its weights return to the segment joint and move onto the new joints. The rig is rebuilt in the same undo step.

  • Operation controlrig.update_tech_joint
  • In Control Rig
ArgumentTypeDefaultDescription
jointstrrequiredTech joint name or id.
paramsAny—Parameters to change, e.g. { "weights": [0.25, 0.6, 1] }.
enabledbool—Enabled.
namestr—Name.