Author: admin

Returning A Specific Word From MotionBuilder’s Python Dir()

I’m not sure why I did not think of this before, here is a little function that will search a user specified module using dir(), but it will also search the components and only return the ones that match the user’s specified filtered word. Let me explain with an...

Move a Character in MotionBuilder to the World’s Center with Python

‎With a dozen takes in my Motionbuilder scene and my Character placed at different locations on each take, I decided Python would help me move my Character to the World’s Center. With raw Mocap data your Character’s Wold Position is all based on the Actors position within the volume...

Running a Python Script On Every MotionBuilder File Within A Directory

It’s been awhile since I have posted, We are approaching launch of my next game tittle and now that I have a free moment I thought I would demonstrate how to run a python script on multiple “.fbx” files. All the “.fbx” files for this demo will exist within...

Using MotionBuilder Python to Find Your Current Character’s Hip

In this post we will go over selecting the Character’s hips through python – this method can select any valid body/object within your scene just by replace the search string from “Pelvis” to “the desired objects name“. I created a post a while back that would allow the user...

Re-visting MotionBuilder’s Python Dir()

In a previous post I briefly talked about the dir() command within python. The dir() command is an invaluable tool when trying to discover valid attributes. This is going to be a very quick post on how I have been using the print dir() command to list out attribute...

Using MotionBulider and Python to create a Take Renaming Tool

I’ve used Take Renaming tools in the past and I’ve always found them to be an amazing time saver, so when I sat down to think about what I would like to learn next in my Motionbuilder Python Scripting adventure I knew that writing my own Take Naming Tool...

Finding a Character’s NameSpace with MotionBuilder Python

Here is a snippet of script that I use a lot when dealing with Character’s Name Spaces within MotionBuilder. I often split the LongName to provide me with the NameSpace, I find it cleaner to read when I print it out – which I do often to ensure my...