It's also maybe worth noting that if you have an input node whose name starts 
with its class name ("Input"), that portion is excluded from the DAG label. 
Thus, "Input1" simply becomes "1".

-Nathan

On Sep 10, 2013, at 12:16 AM, "Diogo Girondi" <[email protected]> wrote:

> No problem!
> 
> I think Ben got you covered.
> 
> Cheers,
> Diogo
> 
> 
> On Tue, Sep 10, 2013 at 4:07 AM, aaron barclay <[email protected]> 
> wrote:
>> Hi Diogo,
>> 
>> sorry, was not very clear. Not for the connected nodes but the name of
>> the input connection. In my example I have a group currently
>> unconnected and with two available inputs. One is labelled "Camera",
>> one is labelled "Image", is there a way to get at the labels of these
>> inputs?
>> 
>> aaron.
>> 
>> 
>> 
>> On 10 September 2013 16:41, Diogo Girondi <[email protected]> wrote:
>> > Python:
>> >
>> > [python nuke.thisNode().input(0).name()]
>> >
>> > [python nuke.thisNode().input(1).name()]
>> >
>> >
>> > TCL
>> >
>> > [value this.input0.name]
>> >
>> > [value this.input1.name]
>> >
>> >
>> > cheers,
>> >
>> > Diogo
>> >
>> >
>> >
>> > On Tue, Sep 10, 2013 at 2:42 AM, aaron barclay <[email protected]>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> is it possible to access the name of a nodes input rather then its
>> >> index? In this case I have a group with "Camera" and "Image" as inputs
>> >> and want to know what the names are as I hook them up.
>> >>
>> >> aaron.
>> >> _______________________________________________
>> >> 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
_______________________________________________
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