Precomp
A Group whose contents are an external .nk script.
| Node | Precomp |
|---|---|
| Menu | Other › Precomp |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_precomp" |
| .nk script | Precomp (how .nk import works) |
| Python | nuke.createNode("Precomp") |
| Assistant (MCP) | create_node(type="Precomp") |
| Tab search | precomp |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| output 0 | Image | image |
Knobs
Panel tab Precomp, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
file | file | file | file | |||
reload_script | Reload | button (panel only) | ||||
open | Open | button (panel only) | ||||
render | Render | button (panel only) | ||||
reading | read file for output | bool | false | reading | ||
on_error | missing frames | menu | error | error, black, checkerboard, read input | on_error | |
reload_write | Reload | button (panel only) | ||||
output | output node | text | output | |||
use_output | enable | bool | false | use_output |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |