importing fbx files from Python

   12217   8   3
User Avatar
Member
98 posts
Joined: Sept. 2008
Offline
Dear all,

I want to import an FBX file directly from within Python. I know I can do something like

hou.hscript('fbximport parameters filename')

but I was looking for something more “pythonic”. Is there anything? If not, the hscript way will be ok. Just asking…

cheers

dagush.-
————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
User Avatar
Member
350 posts
Joined: Jan. 2008
Offline
Right now, there's no truly Pythonic way to import FBX. However, it seems like a really good idea, so I've submitted RFE #36035 for it.
Oleg Samus
Software Developer
Side Effects Software Inc.
User Avatar
Member
98 posts
Joined: Sept. 2008
Offline
WOW! Thanks!!!!

cheers

dagush.-
————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
User Avatar
Member
509 posts
Joined: July 2005
Offline
wow .. 2009.

anyway, any news about this being implemented? I could make a very good use of it right now …

thanks!
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
509 posts
Joined: July 2005
Offline
nevermind .. found the fbximport hscript command
that's all I needed…


cheers!
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
304 posts
Joined: May 2006
Offline
Yeah, I was going to suggest hou.hscript(“fbximport foo.fbx”) for your python needs
Javier Meroño
FX TD.
User Avatar
Member
509 posts
Joined: July 2005
Offline
yep, works perfectly enough.
let's the mass fbx import begin!
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
83 posts
Joined: July 2005
Offline
still no news?
User Avatar
Member
7 posts
Joined:
Offline
Greetings from the future…

It appears that 16.5 has the hou.hipFile.importFBX() method.

I wish we could force the import within a specific subnet. But for now, the big advantage over using the hscript command is that this method returns the node object of the subnet created.

-m
  • Quick Links