How to export to. Fbx file automatically

Hello people, the support team

I have a question.
• If you want to know how to export to. Fbx file automatically, the animations it was made ​​of FaceFX.
Is there a way to export one by one automatically multiple animations?
Such as the automatic batch.

Thank you

Permalink
You can't analyze multiple audio files at once from FaceFX Studio Professional. But you can export multiple FBX files at once from python.

To look though all animations in your actor, do something like:

for group in FxStudio.getAnimationNames():
  for anim in group[1]:

Then issue the fbx command, and use anim for the animation name and group[0] for the group. Something like:

issueCommand('fbx -anim "' + anim + '" -group "' + group[0] + ...

Alternatively, if you really want to output the FBX file immediately after analyzing, look into the postanalysis python signal:

http://www.facefx.com/documentation/2013.2/W91
Permalink

Hi,

Thank you for reply
Based on the sentence, which was brought to my, I want to write a python.
I've never used a python, and struggled considerably.
I think it's all right because moved.

It was referred to the following things for confirmation, I wrote here once.
Will no problem?

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
for group in FxStudio.getAnimationNames ():
for anim in group [1]:

issueCommand ('fbx-anim' + anim + '-group' + group [0] + '-outfile "D: \ \ C_drive \ \ shimoda \ \ motion \ \ FaceFx \ \ pl12 \ \ story \ \' + anim + '. fbx "')
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Thank you

Permalink

Sorry the python is dicifficult for you, I didn't know if you had any scripting experience. Scripting in FaceFX is important.

Your command looks good, but there may be some problems:

1) You will need to export one FBX file from the GUI first before this works. You did not specify -infile, so if one is not already definied, this command will fail.

2) It looks like there are some problems with spaces, but I don't know if that is just the forums messing up your post. There is no space after ".fbx" and there should be a space between "fbx" and "-anim" (See below):

3) I would put quotes around the animation name and group name in case there any names with spaces. (see below)

~~~~~~~~~~~~~~~~~~~~~~~~

issueCommand ('fbx -anim "' + anim + '" -group "' + group [0] + '" -outfile "D:\\C_drive\\shimoda\\motion\\FaceFx\\pl12\\story\\' + anim + '.fbx"')

~~~~~~~

Permalink

Hi,

I was able to understand.
Indeed, there is a problem is what I wrote.
Thanks for pointing out.

Thank You