Category: Python

Running A Python Script On All Takes. 

Being able to run a Python script on all takes within a MotionBuilder scene is a powerful time saver. Below I’m going to show how I learned to create a layer on every take within a MotionBuilder scene using Python. We are going to use Python to create an Animation...

Plotting selected properties using MotionBuilder’s Python.

I ran the script I created in “Animating and setting keys with MotionBuilder’s Python Editor” and decided that I would use the scene it creates to learn how to plot on selected properties in MotionBuilder’s Python Editor. Update: I found a work around for the bug and it is covered in my...

Animating and setting keys with MotionBuilder’s Python Editor

Here is the code for a Python script that I wrote dealing animating and setting keys on a selected object within MotionBuilder. Writing this animation script really helped me get a better understanding on how to use MotionBuilder’s FBTime. The exercise forced me to sit down for about two hours...

MotionBuilder Python Tool “SaveIt”

Here is a script/tool I created for MotionBuilder using Python.  This tool will do an incremental save of your scene. Why? Incremental saves are amazingly useful, I thought a tool that automates the process down to one click would be fun. A big thanks goes out to my college Raphael...

Plotting Character Animation With A MotionBuilder Python Script . 

Let’s go over how to use Python to plot animation onto a character’s Control Rig. The interesting part of this is the “plot options” and how we call back on them when we plot.   These are the settings I use when I am processing large motion capture data down...

Using Python to Create a layer on the Current Selected Take in MotionBuilder. 

In MotionBuilder using animation layers are great for edits, blending, additives and in general adding quality passes to your animations. So below I’m going to demo how I learned to add layers using Python. To create an Animation Layer on the Current Take script: Now let’s setup a Python Script...

Creating A Marker or “Helper”

Creating a simple marker in MotionBuilder using Python scripting. So here was a script that took some time for me. Changing the Look of the marker through Python had me stumped (luckily I had a friend who could help).   Changing the color of the null/model was a long...

MotionBuilder Python – Where to start

Finding information for Python scripting in MotionBuilder can be an uphill battle. Here is a list of some of the resources that I have been able to find (thanks google). A lot of the listed links have valuable scripts in which one can hack through and decipher what each...

Hello World! – A.k.a “Let us begin”

Here is my first posting for this experiment – “the blog”. For the last two weeks I have been mucking around with Python scripting within MotionBuilder. It has been an uphill battle. With the limited resources out there all I can really do is hack away at bits and...