# Naming shots for VFX (using tokens)

**URL:** <https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811>\
**Category:** Flame Questions\
**Tags:** workflow\
**Created:** [February 27, 2023, 6:20pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811 "2023-02-27T18:20:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevencw](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@stevencw](https://forum.logik.tv/u/stevencw)\
**Post date:** [February 27, 2023, 6:20pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/1 "2023-02-27T18:20:57Z")

</div>

Hello,

I’ve searched everywhere but cannot seem to find the answer to this question. I am attempting to name shots in my timeline using a VFX naming workflow (ex. 001\_010), but I can’t seem to figure out how to reset the shot ID# when the scene# iterates. Example:

show\_episode\_065\_010  
show\_episode\_065\_020  
show\_episode\_066\_010 \<— I would like this to go back to 010 instead of 030

Is this possible to do in Flame using tokens / python script?

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [February 27, 2023, 7:53pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/2 "2023-02-27T19:53:42Z")

</div>

Doing it in one go for the sequence… maybe just with python. Using the rename shot tool, I think you need to run it on the selected segments every time you want the index to reset. Not in front of Flame now.

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [February 27, 2023, 8:02pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/3 "2023-02-27T20:02:57Z")

</div>

Index reset syntax is like this [index###@10](mailto:index###@10) to start back at 010. I think… this is all from memory.

---

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [February 27, 2023, 10:12pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/4 "2023-02-27T22:12:30Z")

</div>

The token is called Custom Index.

`<index###@10+10>`

ie, pad by 3, start at 10, increment by 10.

But ya, like milanesa said, manually you would have to do select all of an episode, do `065_<index###@10+10>`, then select next episode shots and do `066_<index###@10+10>`, and so on. I can’t think of anything more clever.

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [February 27, 2023, 10:29pm UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/5 "2023-02-27T22:29:29Z")

</div>

you can automate the episode index by adding a track underneath the shots, cutting segments gaps, renaming them as episodes and using the “Background Name” as you episode token in the shot naming.  
Other than that… python.

---

<div class="post-metadata">

**Author:** ![stevencw](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@stevencw](https://forum.logik.tv/u/stevencw)\
**Post date:** [February 28, 2023, 6:48am UTC](https://forum.logik.tv/t/naming-shots-for-vfx-using-tokens/7811/6 "2023-02-28T06:48:22Z")

</div>

Thank you all for the suggestions!  
@milanesa that’s the exact workflow I used in order to keep the shot ID#'s grouped together as there were multiple segments within one shot; I’m glad I wasn’t the only one who thought of this! I’ll definitely look into Python as that seems like the solution.
