Know anyone how to move bones in python?

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 3
Joined: Sun Sep 16, 2012 6:17 pm

Know anyone how to move bones in python?

Post by p9 » Sun Sep 16, 2012 6:22 pm

I am testing with bpy but I couldn't found a good tutorial.

From this tutorial ... /Armatures
I get


Object name: MeshObject
Armature name: I believe that is MyRigData

I want move the first bone named "Tip"
My code is

Code: Select all

import bpy


rig ="MyRigData")  # Get Armature
pb = rig.pose.bones["Tip"]
Anyone help me?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests