The "views" argument should be a list with the names of the views you
want to execute.

Try:

nuke.execute("MyOp1",0,1,1,['right']) # or whatever your right view name is



On Thu, Aug 11, 2011 at 11:24 PM, Georgiy Osipov <[email protected]> wrote:
> I need to specify a view for executing (my Node cannot be excecuted
> for more than one view). 'execute' function documented as
>
> execute(nameOrNode, start, end, incr, views, continueOnError= False),
>
> but an error "execute() takes at most 4 arguments (5 given)" occurs
> when "nuke.execute("MyOp1",0,1,1,1)" is invoked.
>
> Can anyone help me to execute Node for specified view?
> _______________________________________________
> 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