I'd like to understand why we can't create 2 AOV's with 2 shaders of the same type?
import mtoa.aovs as aov shd = 'aiUtility' aovInt = aov.AOVInterface() newAOV = aovInt.addAOV('util1', aovShader = shd) aovInt2 = aov.AOVInterface() newAOV2 = aovInt2.addAOV('util2', aovShader = shd)
This creates 2 AOV's, but only one aiUtility is connected to them.
I checked what's happening in aovs.py (in MtoA scripts installation folder). After a comment saying '# second, see if shaders of this type already exist in the scene', it indeed removes the opportunity to create a second shader of the same type.
Why is it forbidden to create 2 different shaders of the same type with addAOV function?