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'].setValue(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] <mailto:[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]
<mailto:[email protected]>>
Datum: 22.11.2016 16:29 (GMT+01:00)
An: Nuke user discussion <[email protected]
<mailto:[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]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/ <http://forums.thefoundry.co.uk/>
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
--
Adrian Cruceru
df(x)
--
--------------
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