Write node auto versioning

A few lines of python code I wrote to put in the beforeRender knob in Write node Python tab for auto versioning. That is if the file name matches the format of "_v##" frame padding digit doesn't matter, each file will go up a version if the file already exists.For my usage, this code still has a few flaws.

  1. It doesn't version up to the latest version.

    1. Because of above, it will overwrites the next version if it already exists.

Previous
Previous

Nuke Execute with Command Prompt

Next
Next

Cropping Contact Sheet