# File Name Prefix Layer Override not allowed?

**URL:** <https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862>\
**Category:** General\
**Created:** [October 31, 2010, 9:35pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862 "2010-10-31T21:35:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonhuang1115](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jasonhuang1115](https://forums.chaos.com/u/jasonhuang1115)\
**Post date:** [October 31, 2010, 9:35pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/1 "2010-10-31T21:35:12Z")

</div>

Hi,

I tried to create a Layer Override for the File Name Prefix to have descriptive names for each of the render layers for batch render. But there is no this option as I right-mouse-click on it?  
Is this an intended behavior or a bug?

Thanks.

---

<div class="post-metadata">

**Author:** ![djx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/djx/32/62309_2.png) [@djx](https://forums.chaos.com/u/djx)\
**Post date:** [November 1, 2010, 6:38am UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/2 "2010-11-01T06:38:47Z")

</div>

Hi Jason, I’m not sure about a layer-override but I always use the name tokens to embed the layer name in my file names. For example I would specify %s/%s\_%l/%s\_%l Then if I render with -rd x:\david\renders I get x:\david\renders\myScene\myScene\_myRenderLayer\myScene\_myRenderLayer.001.exr

---

<div class="post-metadata">

**Author:** ![jasonhuang1115](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jasonhuang1115](https://forums.chaos.com/u/jasonhuang1115)\
**Post date:** [November 1, 2010, 12:56pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/3 "2010-11-01T12:56:45Z")

</div>

> [@tinuz](#):
>
> Hi Jason, I’m not sure about a layer-override but I always use the name tokens to embed the layer name in my file names. For example I would specify %s/%s\_%l/%s\_%l Then if I render with -rd x:\david\renders I get x:\david\renders\myScene\myScene\_myRenderLayer\myScene\_myRenderLayer.001.exr

Thanks for the tip, David. I’ll try these tokens.

---

<div class="post-metadata">

**Author:** ![MatthewRF](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@MatthewRF](https://forums.chaos.com/u/MatthewRF)\
**Post date:** [December 20, 2010, 11:06pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/4 "2010-12-20T23:06:42Z")

</div>

this usually works for any attributes i can’t set layer overrides for via the normal right-click method:

while your current render layer is active, try this: “editRenderLayerAdjustment vraySettings.fileNamePrefix”

i haven’t done a test render, but the file name updates when you switch between render layers in the editor or globals window.

matt

---

<div class="post-metadata">

**Author:** ![cgleo](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@cgleo](https://forums.chaos.com/u/cgleo)\
**Post date:** [December 11, 2013, 3:21am UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/5 "2013-12-11T03:21:35Z")

</div>

\<Version\> name token doesn’t work in vray?

---

<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:** [December 11, 2013, 8:43am UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/6 "2013-12-11T08:43:20Z")

</div>

I don’t think so. What does it do?

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:** [December 11, 2013, 12:54pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/7 "2013-12-11T12:54:56Z")

</div>

It queries the Version Label attribute from the Maya renderSettings and uses this in the filename prefix.

(We use a versioning based on the scene name btw. This way you always know where your images come from.)

---

<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:** [December 11, 2013, 1:06pm UTC](https://forums.chaos.com/t/file-name-prefix-layer-override-not-allowed/25862/8 "2013-12-11T13:06:49Z")

</div>

Thanks, one lives and learns 🙂 Will make a note to add it.

Best regards,  
Vlado
