Alex Doss

VFX TD | Generalist

					script: [set scriptname [basename [file rootname [value]]]]
version: [set version [lindex [split [set scriptname] _] end]]
shot: [set shot [string range  [set scriptname] 0 13 ]]
seq: [set seq [string range [set scriptname] 3 5 ]]

The script above should return the nukeFilename of type: PJ_SEQ_SH_task_version
The other variables are taken from this.
Then on a write node, call the variables with:

					workfolder/[return $shot]_[return $version]/[return $scriptname].%04d.exr