MtoA - appending "_1" to filename when using Render Sequence

MtoA - appending "_1" to filename when using Render Sequence

mauricebastian
Explorer Explorer
3,447 Views
9 Replies
Message 1 of 10

MtoA - appending "_1" to filename when using Render Sequence

mauricebastian
Explorer
Explorer

Hello Arnold Answers,

I'm trying to render a sequence of frames and thing I have everything set correctly in the

Render Settings window. when I look at the output in my images/ directory and the output in

the Script Editor, I can see that somewhere a "_1" ( underscore One ) is being added to the name

of my files. Is there a preference or some kind of setting that would tell Render Sequence to

do this ? Is there a way to switch this behaviour off ?? I'm attaching a file showing my

Render Settings inputs and to the right, what Script Editor is spitting out.

thanks ! Maurice Bastian

7646-mayaarnold-rendersequence-append-11.jpg


0 Likes
Accepted solutions (1)
3,448 Views
9 Replies
Replies (9)
Message 2 of 10

lee_griggs
Autodesk
Autodesk

Does it happen with the render tokens too?


7671-1594620114902.png

Lee Griggs
Arnold rendering specialist
AUTODESK
0 Likes
Message 3 of 10

Anonymous
Not applicable

Hey I litterally have the same problem and can't figure it out... It only happens with Arnold and no other renderer.

The script editor gives this :

// Result: scriptEditorPanel1Window|scriptEditorPanel1|formLayout94|formLayout96|paneLayout2|cmdScrollFieldReporter1 
// arnold
/tmp/default.png
[u'png', 32]
getPanel -scriptType renderWindowPanel;
// Result: renderView // 
renderer -materialViewRendererSuspend true;
import mtoa.utils;mtoa.utils.getSourceImagesDir()
# Result: [u'/home/romain/maya/projects/default/sourceimages'] # 
import maya.cmds as cmds;cmds.workspace(query=True, rootDirectory=True)
# Result: /home/romain/maya/projects/default/ # 
colorManagementPrefs -q -cmEnabled;
// Result: 0 // 
file -q -exn;
// Result: /home/romain/maya/projects/default/untitled // 
import mtoa.utils;mtoa.utils.getFileName(2, 'RenderPass=beauty RenderLayer=defaultRenderLayer Camera=front Extension=png Scene="untitled"', frame=1, path=r'/tmp/default_1', fileType='images', strictAOVs=True, createDirectory=True);
exists renderLayerDisplayName;
... and then other lines and the actual rendering ...

So at first it does detect the right filename, but in the function getFileName the path argument has the same path with a "_1" added, for no reason

I've checked all the options of the arnold renderer, but no success so far...

Any idea ?

0 Likes
Message 4 of 10

untitled.
Contributor
Contributor

I have the same problem.

And it also happens with tokens.

0 Likes
Message 5 of 10

Stephen.Blair
Community Manager
Community Manager
Accepted solution

The workaround is to enable Merge Exrs (even if you are not rendering exr, just switch to exr, enable merge, and switch back to the other format).



// Stephen Blair
// Arnold Renderer Support
Message 6 of 10

Anonymous
Not applicable

I hate autodesk


Message 7 of 10

DaveMay3D
Contributor
Contributor

Why? Shouldn't Autodesk fix this? Oh yeah. Subscription software, don't need to fix anything. Got it.

Message 8 of 10

k_kasaharaGWBXU
Explorer
Explorer

I am dealing with the same problem in MAYA 2025 and somehow it only happens for beauty AOV layer also untill yesterday it didn't happen.

0 Likes
Message 9 of 10

DaveMay3D
Contributor
Contributor

The accepted solution worked for me. Note that I did not say acceptable solution, which is Autodesk actually working on fixing something for once.

0 Likes
Message 10 of 10

svalentine15TGMS
Observer
Observer

Can confirm that this works, for some stupid reason

0 Likes