FBXExportSplitAnimationIntoTakes

 
 
 

FBXExportSplitAnimationIntoTakes -q

FBXExportSplitAnimationIntoTakes -c

FBXExportSplitAnimationIntoTakes -v

This command lets you export an ainmation file into multiple takes.

FBXExportSplitAnimationIntoTakes -v

The FBXExportSplitAnimationIntoTakes -v option requires extra arguments. Its syntax is: FBXExportSplitAnimationIntoTakes -v "takename" frameStart frameEnd This sets the form "takename frameStart frameEnd" in memory. Subsequent calls to the function append new entries in the table.

For example:

Internally, frames are expressed in seconds. The conversion from frame to seconds is performed using the current application framerate. After definitions are available, calling FBXExportSplitAnimationIntoTakes -q. This returns:

// Result: name=toto start=1 end=5 name=toto start=10 end=25
name=toto start=3 end=20 //
Note
  • The accumulator is not automatically cleared, if new definitions need to be set for a second export; the caller is responsible for clearing the accumulator by calling the command using the -clear option.
  • Take001 always exists regardless of how many splits are defined.
  • Setting a frameEnd < frameStart returns an error.
  • frameStart and frameEnd do not necessarly define an interval with keys and the split function does not try to validate. If no animation keys are in the range, the take will still be created with no keys.