Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX Plug-ins Import-Export Discussions / MOBU FBX Exporting of Animated Custom Attributes
  RSS 2.0 ATOM  

MOBU FBX Exporting of Animated Custom Attributes
Rate this thread
 
49437
 
Permlink of this thread  
avatar
  • Location: Montreal
  • Total Posts: 52
  • Joined: 15 November 2010 10:46 AM

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.



Replies: 4
/userdata/avatar/3yvwf23us_doug100x100.png

Are they stored in the FBX file?  Write the FBX in ASCII to check.

Author: Doug Rogers

Replied: 15 November 2010 07:15 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 07:39 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 08:13 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 08:41 AM  
avatar

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



Replies: 4
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 08:53 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 09:07 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 09:25 AM  
/userdata/avatar/n6nq3f7q9.png

See below.

Author: Kim Hutchison

Replied: 15 November 2010 09:36 AM  
avatar

FBApplication().FileSave() works, but prompts the “Save As” dialog window, despite lOptions.ShowFileDialog = False.

from pyfbsdk import FBApplicationFBFbxOptionsFBSystem

lSystem 
FBSystem ( )
lOptions 
FBFbxOptions False )
lOptions.SaveSelectedModelsOnly True
lOptions
.ShowFileDialog False

for lTakeIndex in rangelOptions.GetTakeCount() ):
 if 
lSystem.CurrentTake == lOptions.GetTakeName lTakeIndex ):
  
lOptions.SetTakeSelect lTakeIndexTrue )
 else:
  
lOptions.SetTakeSelect lTakeIndexFalse )

lApp FBApplication ( )
lApp.FileSaver"c:\tmp.fbx"lOptions )

del lSystemlOptionslApp )
del FBApplicationFBFbxOptionsFBSystem )


Replies: 1
/userdata/avatar/n6nq3f7q9.png

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  
avatar

FBFbxManager().SaveCharacterRigAndAnimation() does not export custom attributes animation.

from pyfbsdk import FBSystemFBFbxManager

lSystem 
FBSystem()
lScene 
lSystem.Scene

lFbxManager 
FBFbxManager()
lFbxManager.SaveCharacterRigAndAnimationr"c:\tmp.fbx"lScene.Characters[0]TrueTrueTrue )

del lSystemlScenelFbxManager )
del FBSystemFBFbxManager )


Replies: 0
avatar

-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"


Replies: 0