This topic shows how to smooth keys using filters. To follow the instructions, download the file and script from http://area.autodesk.com/downloads/scripts/motionbuilder-animation-scripts.
Open the filters_butterworth.fbx file in MotionBuilder.
Run the filters_butterworth.py script to remove the noise in the FCurve. The FCurves appear smooth as shown in the following figure.
You can use the other filters in a similar way as explained in this topic. You need to do the following:
FBFilterManager().CreateFilter ('<Filter’s Name>')
.lFilter.PropertyList.Find (‘<Property Name>').Data = <Property Value>
.lFilter.Start = FBTime(0, 0, 0, 15)
.lFilter.Apply (<FCurve_Node_Object>, True)
.