Hi Johannes,
Yeah, "in" is a reserved python keyword so AFAIK you can't use it as a
kwarg. Alternatively, you can give nuke.createNode a tcl list of args:
nuke.createNode('Shuffle', 'name x out x in x', inpanel=False)
I did inpanel=False to mimic nuke.nodes more closely.
-Ean
On Wed, Aug 1, 2012 at 11:38 AM, Johannes Hezer <[email protected]>wrote:
> Hi all,
>
> I have a little confusion here...
> hopefully sth. simple
>
> shf = nuke.nodes.ShuffleCopy(name=x,**out=x,in=x)
>
> this all works fine, but the in knob is causing problems here because of
> its name?!?
> Is there a workaround for this or does this only work via...
>
> shf=nuke.createNode('**shufflecopy')
> shf['in'].setValue(blablabla)
>
> Cheers
> johannes
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<[email protected]>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<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