type to search

hookShaderOverride for Python in Maya

Asked by

I am writing a script that puts selected objects to a render layer for ambient occlusion pass. I can’t figure out how to give to render layer a material override. Maya (MEL) uses “hookShaderOverride” is there a command similar to this that I can use for Python? Thanks

or Cancel

Your answer

You need to join VFX Overflow to complete this action, click here to do so.