Hi,
I'm looking to add PreRender MEL scripts to my renders. I want to access the camera that is currently rendering to create some additional EXR metadata and there is no where in vraySettings that I've found this possible in MEL. Does anyone know if this is possible? Or a Python work around? Any help would be amazing.
Jack
EDIT: I've found this line tends to do the trick...
rendCamList = [c for c in mc.ls (type='camera') if mc.getAttr (c + '.renderable')]
I'm looking to add PreRender MEL scripts to my renders. I want to access the camera that is currently rendering to create some additional EXR metadata and there is no where in vraySettings that I've found this possible in MEL. Does anyone know if this is possible? Or a Python work around? Any help would be amazing.
Jack
EDIT: I've found this line tends to do the trick...
rendCamList = [c for c in mc.ls (type='camera') if mc.getAttr (c + '.renderable')]