importing fbx files from Python

   14902   8   3
User Avatar
Member
98 posts
Joined: 9月 2008
オフライン
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: 1月 2008
オフライン
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: 9月 2008
オフライン
WOW! Thanks!!!!

cheers

dagush.-
————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
User Avatar
Member
509 posts
Joined: 7月 2005
オフライン
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: 7月 2005
オフライン
nevermind .. found the fbximport hscript command
that's all I needed…


cheers!
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
304 posts
Joined: 5月 2006
オフライン
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: 7月 2005
オフライン
yep, works perfectly enough.
let's the mass fbx import begin!
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
86 posts
Joined: 7月 2005
オフライン
still no news?
User Avatar
Member
7 posts
Joined:
オフライン
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