Jump to content

Create SHOP Tool Item?


Atom

Recommended Posts

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 by Atom
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...