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® MotionBuilder® / Python / Import datas from Maya to Motionbuilder
  RSS 2.0 ATOM  

Import datas from Maya to Motionbuilder
Rate this thread
 
20485
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 28 August 2006 10:04 AM

Hello guys,

In some last version of Motionbuider 7.5 Ext2 (i’m using the b) i’ve found a new entry in the File menu, called “Fbx Plug-in Import”. We are supposed to use this to import fbx files generated by an other application. In my case it’s Maya. It will fix some issue that you have with the regular “Open File” like reverse normal, nurbs issue etc…
I search in FBApplication(), FBFbxManager() class and i could not find anything to perform the exact same operation with Python (or even OpenReality). Is anybody know if there is a way to do this “Fbx Plug-in import” using pyfbsdk ?

Thanks,
Ash



Replies: 0
avatar
  • cwikdahl
  • Posted: 22 January 2009 07:03 AM

Bump… Would also like to know.



Replies: 0
avatar

Bump again.  Importing without inverted normals is very important....



Replies: 0
avatar
  • raitch
  • Posted: 11 March 2009 02:51 PM

Hi all,

It is in there it is just not documented in that release - if you run:

dir(FBApplication)

in the Console, you will see the FBX* functions which you are looking for.
i.e. FileOpen vs. FBXFileOpen etc.

You can refer to the MB2009 docs for reference as they should all be similar.

Hope this helps.



Replies: 0
avatar

Ill give that a try, thank you!

Brian

raitch 11 March 2009 05:51 PM

Hi all,

It is in there it is just not documented in that release - if you run:

dir(FBApplication)


in the Console, you will see the FBX* functions which you are looking for.
i.e. FileOpen vs. FBXFileOpen etc.


You can refer to the MB2009 docs for reference as they should all be similar.

Hope this helps.



Replies: 0
avatar

Ah! That worked beautifully, even in 7.5ext2!

Cheers, man. 

Here’s some sample code:

from pyfbsdk import *

FBApplication();
xx x.FBXFileOpen("C:\\YourFile.fbx");


Replies: 0