Re: AW: Re: [Nuke-users] create a node outside a grouped gimzo

2016-11-22 Thread Ben Dickson
The with statement is basically the same as doing: def button_a(): mygroup = nuke.toNode("Group1") try: mygroup.begin() nuke.nodes.Blur() some_func_which_errors_sometimes() finally: mygroup.end() That is, always calling ".end()" even if an error

AW: Re: [Nuke-users] create a node outside a grouped gimzo

2016-11-22 Thread Igor Majdandzic
Hows the with statement working here? I was always defining group.begin and end. This looks much more elegant Von Samsung Mobile gesendet Ursprüngliche Nachricht Von: Ben Dickson Datum: 22.11.2016 3:44 (GMT+01:00) An: Nuke user discussion