Hi all,

That's a good question;
I've been using the *with *statement as well with success.

I'm curious of what is the best method.

Cheers,
Justin

2015-11-17 17:24 GMT+00:00 Den Serras <denserras...@gmail.com>:

> This leads to a slightly tangential discussion... I used to always use:
>
> with group:
>      (inner node stuff)
>
> which generally seemed to work; but so many people use begin() that now I
> play it safe and do:
>
> with group:
>     group.begin()
>     (inner node stuff)
>     group.end()
>
> But perhaps someone can explain what the theoretical and functional
> differences are between "with group" and "group.begin()", and whether by
> combining them I'm causing even more problems...
>
> Thanks!
> Den
>
> On Tue, Nov 17, 2015 at 1:29 AM, Johan Forsgren <j.a.forsg...@gmail.com>
> wrote:
>
>> Root().begin() worked wonderfully, I had actually no idea that it existed
>> at all, thanks!
>>
>>
>> 2015-11-16 18:05 GMT+01:00 Mike Frank <michaeljfr...@gmail.com>:
>>
>>> nuke.Root().begin()
>>
>>
>>
>>
>> _______________________________________________
>> Nuke-python mailing list
>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to