Should be myCurrentNode.input(0).name(), yes? If the node has more than one
input, replace the zero with the number of the input you want.

-t

On Tue, Aug 23, 2011 at 11:26 PM, Ron Ganbar <[email protected]> wrote:

> Hi there,
> how can I get the name of the node that's connected to a selected node? Any
> idea?
>
>
> Ron Ganbar
> email: [email protected]
> tel: +44 (0)7968 007 309 [UK]
>      +972 (0)54 255 9765 [Israel]
> url: http://ronganbar.wordpress.com/
>
>
> _______________________________________________
> 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