tukihiko Posted September 25, 2018 Share Posted September 25, 2018 Hi everyone, this is my first time writing tools , I'm creating a tool to import camera from Maya with python. I use hou.hipFile.importFBX function but it's not return about imported nodes , so I couldn't connect null node for worldscale. How do I get the imported nodes info? Thanks. Quote Link to comment Share on other sites More sharing options...
kiryha Posted September 25, 2018 Share Posted September 25, 2018 (edited) import hou fbx = hou.hipFile.importFBX('C:/string/path/to/file.fbx') # Set FBX scale fbx[0].parm('scale').set(0.01) # Get and print FBX nodes listNodesFBX = fbx[0].children() for node in listNodesFBX: print node And more Python in Houdini examples. Edited October 3, 2018 by kiryha Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.