Nukepedia
  • Downloads
    • Gizmos
    • Blink
    • Python
    • Plugins
    • Toolsets
    • Presets
    • Miscellaneous
    • Hiero
    • Tcl Scripts
  • Knowledge
    • Code tutorials
      • Gizmos
      • Python
      • TCL
      • Expressions
    • General tutorials
      • Getting started with Nuke plugins
    • Video tutorials
    • Reference
      • Python
      • TCL
      • HTML
      • Expressions
      • NDK
      • OFX
    • Community support
      • Foundry forums
  • Articles & Info
    • Interviews
      • Hugh Macdonald
      • Jonas Kluger
    • The Foundry
      • NUKE PAGE
      • Foundry blog
      • Training page
      • Nuke news
  • Bridge
  • Sign in
  • Register
  • Donate
  • Search
Code tutorials / TCL
  • Code tutorials
    • Gizmos
    • Python
    • TCL
    • Expressions
  • General tutorials
    • Getting started with Nuke plugins
  • Video tutorials
  • Reference
    • Python
    • TCL
    • HTML
    • Expressions
    • NDK
    • OFX
  • Community support
    • Foundry forums

TCL

Write nodes filename from topmost read

if you need your output file named exactly like your input file then use a little TCL expression in the file knob of the write node suggestion your filename convention is like: //path/to/file/filename.pattern.ext then: [lindex [split [lindex [split [knob [topnode].file] .] 0] /] end] will give you back just the "filename" part of the original read node if you want…

Written by Michael Vorberg

  • Terms of use
  • Privacy policy
  • Acceptable use policy
  • Contact us
  • Find us on Vimeo LinkedIn

©2025 nukepedia.com. All rights reserved.