|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
| MOBU FBX Exporting of Animated Custom Attributes
|
|
|
Hi,
I have animated custom attributes of type Real that I am trying to export as FBX via Motion Builder 2011 x64. When I import the resulting FBX via Motion Builder 2011 x64 or Maya 2011 x64, my custom attributes are gone.
I have updated my Maya FBX plug-in to 2011.3.
Any thoughts?
Thanks,
Kim.
|
|
|
|
In MoBu, select ‘Save As’, choose FBX ASCII.
The convert utility can save as ASCII, too.
http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775855
|
|
|
|
FBApplication().FileSave() works, but prompts the “Save As” dialog window, despite lOptions.ShowFileDialog = False.
from pyfbsdk import FBApplication, FBFbxOptions, FBSystem
lSystem = FBSystem ( )
lOptions = FBFbxOptions ( False ) lOptions.SaveSelectedModelsOnly = True
lOptions.ShowFileDialog = False
for lTakeIndex in range( lOptions.GetTakeCount() ):
if lSystem.CurrentTake == lOptions.GetTakeName ( lTakeIndex ):
lOptions.SetTakeSelect ( lTakeIndex, True )
else:
lOptions.SetTakeSelect ( lTakeIndex, False )
lApp = FBApplication ( ) lApp.FileSave( r"c:\tmp.fbx", lOptions )
del ( lSystem, lOptions, lApp ) del ( FBApplication, FBFbxOptions, FBSystem )
|
|
|
|
|
It seems that lOptions.SaveSelectedModelsOnly = True is what’s causing the dialog window to appear.
Author: Kim Hutchison
|
| Replied: 22 November 2010 03:01 AM
|
|
|
|
|
FBFbxManager().SaveCharacterRigAndAnimation() does not export custom attributes animation.
from pyfbsdk import FBSystem, FBFbxManager
lSystem = FBSystem()
lScene = lSystem.Scene
lFbxManager = FBFbxManager() lFbxManager.SaveCharacterRigAndAnimation( r"c:\tmp.fbx", lScene.Characters[0], True, True, True )
del ( lSystem, lScene, lFbxManager ) del ( FBSystem, FBFbxManager )
|
|
|
|
-suspendMessages does not prevent the “Save As” window either.
Shortcut Target:
"C:\Program Files\Autodesk\Autodesk MotionBuilder 2011 32-bit\bin\win32\motionbuilder.exe" -suspendMessages "c:\tmp.py"
|
|
|
|
|
|