Nuke and Tcl - intro

Report this File

Th_input

Views:

28,571

Updated:

May 17, 2006

Readership Level:

Intermediate

Tags:

Nuke Versions:

Platforms:

irix, linux, windows

Owner:

Language:

English

Nuke and Tcl - Intro

Nuke is entirely tcl based, which means that almost anything you can do with the tcl scripting language you can use to drive, manipulate and create Nuke scripts.


To enter tcl code within Nuke you can simply use the terminal that you used to start the application from. This is the reason I never start Nuke as a backgound process (i.e. "nuke &") which would prevent the shell from turning into a tcl console.


One thing to keep in mind when using the terminal: backspace is "ctrl+h".  Alternatively you can bring up the command panel by hitting "x" or going to "File/TCL command...".


 



In addition to native tcl commands there is a variety of Nuke specific commands that make it easier to do so.


For example:

  • "selected_nodes" will return all node ID's that are currently selected in the DAG. This makes it easy to modify a large number of nodes at once.
  • plugins� � prints all plugins currently loaded.
  • plugin_path� � prints all plugin paths that Nuke is currently sourcing

Type these commands into the terminal or the command panel and see what it spits out.


Tutorial_next_page

Comments

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account