Interestingly, this doesn't seem to work on Groups or Gizmos - it won't
return dependents or dependencies. Using a python version got sluggish...
So guess I can't use that approach, unless you have another trick up your
sleeve?

On Fri, Oct 2, 2015 at 3:27 PM, Nathan Rusch <[email protected]>
wrote:

> From the main documentation page distributed with Nuke, click on `TCL
> Scripting` and then `Nuke TCL Commands`. It's not a complete reference, but
> it has some of the basics.
>
> -Nathan
>
>
> *From:* Den Serras <[email protected]>
> *Sent:* Friday, October 02, 2015 2:59 PM
> *To:* Nuke Python discussion <[email protected]>
> *Subject:* Re: [Nuke-python] Downstream nodes - via TCL
>
> Perfect! How did you find that? Is there a secret cache of TCL commands
> that I've missed?
>
> On Fri, Oct 2, 2015 at 10:45 AM, Nathan Rusch <[email protected]>
> wrote:
>
>> [dependent_nodes -ih this] will get you a TCL list of all of the
>> dependent nodes based on input pipes (but not expression links). From
>> there, you can index it as needed:
>>
>> [lindex [dependent_nodes -ih this] 0]
>>
>> -Nathan
>>
>>
>> *From:* Den Serras <[email protected]>
>> *Sent:* Tuesday, September 29, 2015 12:30 PM
>> *To:* Nuke Python discussion <[email protected]>
>> *Subject:* [Nuke-python] Downstream nodes - via TCL
>>
>> Hey I need to grab some knob info from a known node downstream of a given
>> node. I can use [python
>> nuke.thisNode().dependent()[0].dependent()[0].etc()] but I wonder if
>> there's a TCL version of this that will go faster without python. TCL
>> [value input.input.input.knob] works great and is very fast, I figure there
>> must be a similar for down but I can't find it...
>>
>> Anyone have a trick for this?
>>
>> Thanks!
>> Den
>> ------------------------------
>> _______________________________________________
>> 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
>>
>>
>
> ------------------------------
> _______________________________________________
> 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
>
>
_______________________________________________
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