Message 1 of 15
mtoa error when adding AOVs due to initialParticleSE shader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are getting this error. Seems like some of the default shaders in Maya like "initialParticleSE" shaders doesn't play well with mtoa. Not sure why adding aovs on some of our scenes are causing this problem. Fyi: initialParticleSE cannot be deleted or manipulated because it is Maya default node.
--Felipe
# Error: setAttr: The attribute 'initialParticleSE.aiCustomAOVs[0].aovName' is locked or connected and cannot be modified. # Traceback (most recent call last): # File "/net/software/autodesk/modules/maya/2020/arnold/maya2020_linux_4.2.3/scripts/mtoa/ui/aoveditor.py", line 163, in addAOVs # aov = self.renderOptions.addAOV(aovName, aovShader=aovShaderName) # File "/net/software/autodesk/modules/maya/2020/arnold/maya2020_linux_4.2.3/scripts/mtoa/aovs.py", line 419, in addAOV # addAliases([aov]) # File "/net/software/autodesk/modules/maya/2020/arnold/maya2020_linux_4.2.3/scripts/mtoa/aovs.py", line 173, in addAliases # cmds.setAttr(plug, aov.name, type="string") # RuntimeError: setAttr: The attribute 'initialParticleSE.aiCustomAOVs[0].aovName' is locked or connected and cannot be modified. #