Re: [Nuke-users] tcl - add version of nuke script

2016-04-28 Thread Magno Borgo
Assuming you use names like "yourfilename_v001.nk" you can also use a code like this to strip the version of it: [lindex [split [file rootname [file tail [value root.name]]] _] end] On Thu, 28 Apr 2016 05:51:08 -0400, Frank Harrison wrote: There's some

Re: [Nuke-users] tcl - add version of nuke script

2016-04-28 Thread Frank Harrison
There's some stuff on versioned .nk files here: https://www.thefoundry.co.uk/products/nuke/developers/100/pythondevguide/asset.html?highlight=version hth On 28 April 2016 at 10:33, Darren Coombes wrote: > More like the script version, as in "comp_v01.1001.dpx" > >

Re: [Nuke-users] tcl - add version of nuke script

2016-04-28 Thread Darren Coombes
More like the script version, as in "comp_v01.1001.dpx" Check out some of my work... www.vimeo.com/darrencoombes/reel2015 Mob: +61 418 631 079 Instagram: @7secondstoblack Instagram: @durwood0781 Skype: darren.coombes81

Re: [Nuke-users] tcl - add version of nuke script

2016-04-28 Thread Frank Harrison
the `version` keyword should work http://www.nukepedia.com/reference/Tcl/group__tcl__builtin.html#gaa49b0ca2e81bbbee6257040db631cf36 On 28 April 2016 at 07:10, Darren Coombes wrote: > how would I add just the version of the nuke script to the end of a write > node? > > >

[Nuke-users] tcl - add version of nuke script

2016-04-28 Thread Darren Coombes
how would I add just the version of the nuke script to the end of a write node? Check out some of my work... www.vimeo.com/darrencoombes/reel2015 Mob: +61 418 631 079 Instagram: @7secondstoblack Instagram: @durwood0781