Atom Posted August 11, 2016 Share Posted August 11, 2016 (edited) Hi All, I am trying to create an item from the SHOP tool area using python. For galleries, this code works. gal_entry = hou.galleries.galleryEntries('mantrasurface')[0] gal_entry.createChildNode(hou.node("/shop")) But when I try to use this style of code to create a material node found under Tools the above code does not work because the item does not reside in the gallery. How would I, for instance, create a FBX Surface Shader using python? Edited August 11, 2016 by Atom Quote Link to comment Share on other sites More sharing options...
f1480187 Posted August 11, 2016 Share Posted August 11, 2016 AFAIK, tools are just nodes itself. hou.node('shop').createNode('mantrasurface') 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.