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
Hmm. 26 should be static Text knob. Looks like in the pasted Text there is the Label Missing. Just put something between "", i guess.
The backslashes look weird too me. Maybe removing them might work. Not in Front of nuke anymore so i can Test Tomorrow.
You are on 10.0v4?
Cheers
Am 23.11.2016
As far as I know they are equivalent but using the 'with' statement is
more pythonic.
On Tue, Nov 22, 2016, at 18:57, Igor Majdandzic wrote:
> Hows the with statement working here? I was always defining group.begin
> and end. This looks much more elegant
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
Im not the brightest bulb when tcl is brought into play, but you could add a
text knob parse the expression and reference that value.
Igor
Von Samsung Mobile gesendet
Ursprüngliche Nachricht
Von: Adrian Cruceru
Datum: 22.11.2016 16:29
Hi
Is there a way to pass metadata into a static text knob?
for instance
[metadata input/width]
will be replaced with the value found in the input node metadata if i type
it in a text node but
it won't be evaluated into a static text knob
How do i force the evaluation of the [metadata key]
Thank you Frank.
--
Bruno-Pierre Jobin
> On Nov 22, 2016, at 3:20 AM, Frank Rueter|OHUfx wrote:
>
> ok, back up now.
>
>
>> On 22/11/16 9:18 pm, Frank Rueter|OHUfx wrote:
>> Sorry guys.
>> Murphy's Law. The minute I hopped on a plane to Australia our disk space
>> filled
ok, back up now.
On 22/11/16 9:18 pm, Frank Rueter|OHUfx wrote:
Sorry guys.
Murphy's Law. The minute I hopped on a plane to Australia our disk
space filled up and crippled the data base connection.
Fixing it now via dial up :-D ...
On 22/11/16 9:09 am, Massao Asaga wrote:
Not yet. Same
Sorry guys.
Murphy's Law. The minute I hopped on a plane to Australia our disk space
filled up and crippled the data base connection.
Fixing it now via dial up :-D ...
On 22/11/16 9:09 am, Massao Asaga wrote:
Not yet. Same error too.
On Mon, Nov 21, 2016 at 5:34 PM, Igor Majdandzic