Clip Structure naming patterns request

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
spyderheart
Posts: 107
Joined: 22 Jan 2013, 03:11

Clip Structure naming patterns request

Post by spyderheart » 11 May 2020, 19:19

Hi All,

It would be great to be able to reference the clip name and even the project name defining the folder and file name patterns under Export > Clip Structure.

Is this currently possible - to enter a pattern to insert the clip name? (I've tried "%cn" and it doesn't work...)? If not, may I gently suggest it?

Of course this could extend to many other properties one might want to reference such as layer group color, scene number, clip number, etc...

It would be great to have more of these pattern tokens as it would help me to script a one-click, error-proof, export solution to my workflow . I imagine anyone using Clip Structure would have an easier time integrating it into their own workflow with these extra pattern options.

Thanks,
David
David
--------------------------------------------------------
TVPaint 11 Standard 11.0.8

Samsung Notebook 9 Pro 15 (S Pen) // 16GB RAM // 1TB SSD // Core i7 8550U // Intel UHD Graphics 620 // AMD Radeon 540 // Windows 10 Home

User avatar
Hironori Takagi
Posts: 113
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Clip Structure naming patterns request

Post by Hironori Takagi » 12 May 2020, 10:54

More details about this are given below.
https://www.tvpaint.com/doc/tvpaint-ani ... estructure
As far as looking at the JSON item, the possible choices are:

"patternfolder" iPatternFolder string The pattern of the subfolder.
And they may include those special variables:
_ %li: layer index
_ %ln: layer name
_ %fi: file index

"patternfile" iPatternFile string The pattern of the files in the subfolder.
And they may include those special variables:
_ %li: layer index
_ %ln: layer name
_ %ii: image index
_ %in: image name
_ %fi: file index

It seems that you cannot select the clip name, clip number, scene number, layer group number, etc.
When using George, I think that it can be stored in a variable in advance and used as a prefix etc.
TVPaint 11.0.9, Windows10 Pro, DELL Precision M3800 / Mac OS 10.15, Apple Mac Pro(Late 2013)

spyderheart
Posts: 107
Joined: 22 Jan 2013, 03:11

Re: Clip Structure naming patterns request

Post by spyderheart » 13 May 2020, 17:47

Thanks for the extra info and the tip.
I tried your suggestion of using the clip name in variable with the "patternFolder" parameter of the tv_clipSaveStructure command it it works nicely :)
David
--------------------------------------------------------
TVPaint 11 Standard 11.0.8

Samsung Notebook 9 Pro 15 (S Pen) // 16GB RAM // 1TB SSD // Core i7 8550U // Intel UHD Graphics 620 // AMD Radeon 540 // Windows 10 Home

Post Reply