PDA

View Full Version : access node inside a group with python


nookie
01-16-2012, 12:04 PM
This is probably a very noob question but I'm not really able to figure it out :S
I did a simple gizmo trough python (the number of node inside is variable so I had to script it). I just built the comp for the gizmo, selected all the nodes and I used nuke.collapseToGroup().
Now I have 3 fixed input from the gizmo and I would like to rename them to something.
How can access them??

Thanks

nookie
01-19-2012, 05:33 PM
If someone is interested the begin() and end() functions let you begin and end the editing inside a group. ;)
myGroup = nuke.nodes.Group()
myGroup.begin()
#do whatever
myGroup.end()

CGTalk Moderation
01-19-2012, 05:33 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.