Hiero has added some resolver tokens in the last couple of versions.#40
Hiero has added some resolver tokens in the last couple of versions.#40dashielb1010 wants to merge 2 commits into
Conversation
New tokens: + "_nameindex" + "ampm" + "filepath" + "hierotemp" + "hour12" + "hour24" + "minute" + "second" + "timestamp" Tokens removed: - "ext" - "fullbinpath" Hoping to use _nameindex in our template which is why this came up.
|
Hey @dashielb1010! Thanks for this. What's the behavior if someone is using an older version of hiero/ns that doesn't support the new tokens or wants to use the tokens that were removed? If we leave the old ones in there, would that still work? |
|
Hi @josh-t! It did occur to me afterward that the change is almost certainly not backwards-compatible, which of course your app goes to great lengths to be. I suspect it would break-- I'll revise when I can, cheers! |
|
No worries @dashielb1010. We can leave this open for now if you want to commit additional changes to this branch. If not, feel free to close and we can evaluate on a different PR. |
|
Keep it open, please. I'll do my updates on this branch. -Thx |
- "binpath" - "ext" - "fullbinpath" Re-arranged the order of the exapnded list for easier matching against future Nuke/NukeStudio/Hiero user-guides
|
Hi @josh-t, I think the last commit should take care of backwards compatibility. Of course, users that use tokens that are no longer available will be met with error messages during their exports for using the {ext}, {binpath}, and {fullbinpath} tokens in later versions, but at least the tokens list is fully inclusive as of 11.0v3 now. By the way-- and this is a sidebar-- any idea why "projectroot" and "YYYY" are sorted before "project" and "YY" in Qt? |
New tokens:
Tokens removed:
Hoping to use _nameindex in our template which is why this came up.