Primitively: [topnode parent.input0]

You’d probably want to check for a disconnected input and return a sensible 
default to avoid errors though.

-Nathan



From: Jacob Harris 
Sent: Friday, September 21, 2012 6:27 PM
To: Nuke Python discussion 
Subject: [Nuke-python] top node passing through a group

I need to burrow--starting inside a group--up to the top of a tree.

Ex:

    Read1
    Blur1
    Group1
        Transform1

If I were starting with Transform1, how do I get to Read1?

Thanks!



--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to