This is a Python syntax conflict. In that context, "in" has a meaning in
Python, and that will take precedence over the named keyword you're trying
to pass as an argument.

Try this instead, which should work:

s = nuke.nodes.ShuffleCopy()
s['in'].setValue('rgba')


On Fri, Sep 30, 2011 at 10:12 AM, Matias Volonte <[email protected]>wrote:

> when I try to create throught python a shuffleCopy node the following way I
> get an error:
>
> nuke.nodes.ShuffleCopy(in='rgba')
>
> If I create this node manually and I print it, that parameter appears there
> and it is fine.
>
> what is wrong with this? thanks.
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to