That is great. I can build up from here.

Thanks a lot Igor.

Much obliged

Cheers

Adrian

On Wed, Nov 23, 2016 at 8:02 PM, Igor Majdandzic <[email protected]
> wrote:

> Did not work for me either. Here the fixed node
>
>
> set cut_paste_input [stack 0]
> version 10.0 v4
> push $cut_paste_input
> Blur {
>  name Blur12
>  selected true
>  xpos 11451
>  ypos 2769
>  addUserKnob {20 User}
>  addUserKnob {1 input l "use me"}
>  input "This is just for test purposes"
>  addUserKnob {26 test l "" +STARTLINE T dsddass}
>  addUserKnob {22 press l "press me" T "nuke.thisNode()\['test'].
> setValue(nuke.thisNode()\['input'].value())" +STARTLINE}
> }
>
>
> Am 23.11.2016 um 17:28 schrieb Adrian Cruceru:
>
> Hi Igor
>
> I'm on 10v4 NC, Thanks for your help. It still does not work even if i
> remove the \.
>
> Cheers
>
> A
>
> On Wed, Nov 23, 2016 at 12:45 AM, Igor Majdandzic <
> [email protected]> wrote:
>
>> 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 12:57 vorm. schrieb Adrian Cruceru <
>> [email protected]>:
>>
>> Thanks Igor but it does not work. I might be missing something cause the
>> "press me" knob is invisible, and frankly I don't even know what type of
>> knob is the 26th, there are just 24 on my menu. I'm only getting 2
>> controls.
>> Cheers
>>
>> Adrian
>>
>> On Tue, Nov 22, 2016 at 10:43 PM, Igor Majdandzic <
>> [email protected]> wrote:
>>
>> I see what you mean.
>> You could create a Python Knob and change the label hardcoded or add
>> another knob providing more info you would need.
>> You could use a setup like this
>>
>> set cut_paste_input [stack 0]
>> version 10.0 v4
>> push $cut_paste_input
>> Blur {
>>  name Blur1
>>  selected true
>>  xpos 124
>>  ypos -49
>>  addUserKnob {20 User}
>>  addUserKnob {1 input l "use me"}
>>  input "this is just for test purposes"
>>  addUserKnob {22 label l "press me" T "nuke.thisNode()\['test'].setV
>> alue(nuke.thisNode()\['input'].value())" +STARTLINE}
>>  addUserKnob {26 test l "" +STARTLINE T metadata}
>> }
>>
>> Maybe there is a prettier solution, but at least it is a solution.
>>
>> Igor
>>
>> Am 22.11.2016 um 19:44 schrieb Adrian Cruceru:
>>
>> Somehow nothing get's evaluated as TCL in the body of the text of the
>> Static Text Knob.
>> It would be great if you have an example that works.
>>
>> Cheers
>>
>> Adrian
>>
>> On Tue, Nov 22, 2016 at 5:47 PM, Igor Majdandzic <
>> [email protected]> wrote:
>>
>> 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 <[email protected]>
>> Datum: 22.11.2016 16:29 (GMT+01:00)
>> An: Nuke user discussion <[email protected]>
>> Betreff: [Nuke-users] passing metadata into a static text knob
>>
>>
>> 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] expression for a
>> static text?
>>
>> Thank you for the help
>>
>> Cheers
>>
>> --
>> Adrian Cruceru
>> df(x)
>>
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>>
>>
>>
>> --
>> Adrian Cruceru
>> df(x)
>>
>>
>> --
>> --------------
>> Igor Majdandzic
>> Compositing Supervisor/TD
>>
>> @Chimney Frankfurt
>>
>>
>>
>>
>> --
>> Adrian Cruceru
>> df(x)
>>
>>
>>
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>
>
>
> --
> Adrian Cruceru
> df(x)
>
>
> _______________________________________________
> Nuke-users mailing [email protected], 
> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> --
> --------------
> Igor Majdandzic
> Compositing Supervisor/TD
>
> @Chimney Frankfurt
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>



-- 
Adrian Cruceru
df(x)
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to