Jump to content

(SOLVED) Import nodes from file using Python


shadowst17

Recommended Posts

Hi guys,

Is there a way through Python to import a file(not sure which type) that has a bunch of nodes already fully set up and can placed inside a pre-defined location? I can't use digital asset due to pipeline reasons so what ever it reads needs to be imported RAW with no connections to outside dependencies. 

Edited by shadowst17
Solved
Link to comment
Share on other sites

24 minutes ago, anim said:

you can use:

hou.Node.saveItemsToFile()

hou.Node.loadItemsFromFile()

it's similar to copy/paste but you can choose the location of CPIO file

Can I control where those items from the file end up or will they be imported into whatever my current node network location is? 

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...