# Tokens for RE filenames

**URL:** <https://forums.chaos.com/t/tokens-for-re-filenames/61607>\
**Category:** Requests\
**Created:** [January 3, 2017, 9:38am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607 "2017-01-03T09:38:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [January 3, 2017, 9:38am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/1 "2017-01-03T09:38:40Z")

</div>

Hi!  
Would it be possible to implement simple tokens for the renderelement output filenames? We often name our multimattes like ‘mm\_mat\_01\_03’ or mm\_obj\_101\_103’ to give people a clue to what objects they are related.  
It would be handy if we won’t have to do this twice: in the renderelements nodename and also in the filename. Maybe we could just name the RE node and propagate this name to the filename instead? The ‘vrayRE\_’ should be stripped optional, but that would just be a bonus. Thanks!

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 3, 2017, 10:05am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/2 "2017-01-03T10:05:06Z")

</div>

> [@Determining correct falloff](https://forums.chaos.com/t/determining-correct-falloff/53465/11):
>
> Maybe we could just name the RE node and propagate this name to the filename instead? The ‘vrayRE\_’ should be stripped optional, but that would just be a bonus. Thanks!

We could do that, but how is that going to be less work? Renaming the node, or changing a node attribute - there isn’t much difference?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [January 3, 2017, 11:41am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/3 "2017-01-03T11:41:49Z")

</div>

It would. Now we have to rename the node first, then copy&paste the new name into the filename attr (at the right position).

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 3, 2017, 12:10pm UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/4 "2017-01-03T12:10:32Z")

</div>

> [@Simple shallow pool??](https://forums.chaos.com/t/simple-shallow-pool/53484/6):
>
> It would. Now we have to rename the node first, then copy&paste the new name into the filename attr (at the right position).

And you need to rename the node for scene bookkeeping purposes?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [January 3, 2017, 12:24pm UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/5 "2017-01-03T12:24:25Z")

</div>

Yes. When you have 30 passes with IDs you need some information on what’s inside.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 3, 2017, 3:39pm UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/6 "2017-01-03T15:39:43Z")

</div>

Ok, I see. So if we added an option to take the element name from the Maya node name, that would be enough?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [January 3, 2017, 4:06pm UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/7 "2017-01-03T16:06:12Z")

</div>

Absolutely, thanks!

---

<div class="post-metadata">

**Author:** ![hsz](https://avatars.discourse-cdn.com/v4/letter/h/e495f1/32.png) [@hsz](https://forums.chaos.com/u/hsz)\
**Post date:** [January 4, 2017, 1:15am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/8 "2017-01-04T01:15:49Z")

</div>

+1 on this … I do rename a lot as well, so that will be super helpful.

---

<div class="post-metadata">

**Author:** ![Mihail.Djurev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mihail.djurev/32/71038_2.png) [@Mihail.Djurev](https://forums.chaos.com/u/Mihail.Djurev)\
**Post date:** [January 17, 2017, 7:16pm UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/9 "2017-01-17T19:16:39Z")

</div>

We’ve put a checkbox that does that. It will be available in 3.5.

---

<div class="post-metadata">

**Author:** ![Dan\_Andersen](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dan\_Andersen](https://forums.chaos.com/u/Dan_Andersen)\
**Post date:** [January 18, 2017, 8:45am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/10 "2017-01-18T08:45:41Z")

</div>

Nice, that’s a nifty little option

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [January 30, 2017, 9:05am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/11 "2017-01-30T09:05:21Z")

</div>

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [March 13, 2017, 11:28am UTC](https://forums.chaos.com/t/tokens-for-re-filenames/61607/12 "2017-03-13T11:28:38Z")

</div>

Saw the update in a recent nightly, thanks for that. Unfortunatly we just wanted that for the multimatte-elements… I think a global override is a bit to much. A checkbox per element would be more what I thought of. But anyway, thanks a lot, that will already help!
