Jump to content

Startup script, loading node from gallery


Recommended Posts

Hello, i am trying to load custom node from my galleries at startup.

I know nothing about python

I am able to load basic Houdini and Redshift nodes from script found , but after searching i was unable to find the proper script to load nodes from my personal galleries.

i tried this to load a custom cam i made for redshift


Mycam = hou.galleries.galleryEntries('cam1')[0]
cam = obj.createNode("Mycam", "cam_1")


EDIT: just figured out that i need to load a preset on the node.



Edited by FR3D
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.

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