Get Root X Resolution

October 4, 2023
Anonymous
nuke tcl expression to get root resolution x
ChatGPT
ChatGPT

In Nuke's TCL scripting language, you can use the format command to get the root resolution's width (X dimension). Here's an example TCL expression to achieve this:

tcl
[format "%d" [value root.format.width]]

This expression uses the value command to access the root format's width and then formats it as an integer using format. The result will be the X resolution of the root format in Nuke.

|Terms of use|Privacy policy