Adverti horiz upsell
Nuke and Tcl - basics I
Nuke and Tcl - basics I
rueter, added 2006-05-18 16:50:16 UTC 32,583 views  Rating:
(0 ratings)
Page 2 of 4

Changing knob values

syntax:


knob .
examples:

knob Blur1.size 10

knob Blur1.name BlurWithNewName




Reading knob values

    To print info into the shell use "puts". This is Tcl's print command.
    You will have to use square brackets to tell Tcl to evaluate the knob command first and then use the result for the puts command:


    puts [knob Blur1.size]

    If you want to go fancy you can pop up a message windo instead of printing into the shell:

    message [knob Blur1.size]