It's regular Maya scripting.
The MEL is logged in the script history when you do it interactively:
setAttr "aiSkyDomeLightShape1.camera" 0;
So the Python is
import maya.cmds as cmds cmds.setAttr( "aiSkyDomeLightShape1.camera", 1 )
This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.
When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.
Please include images, scene and log files whenever possible as this helps the community answer your questions.
If you are looking for Arnold Documentation and Support please visit the Arnold Support site.
To try Arnold please visit the Arnold Trial page.Bottom No panel present for this section.
11 People are following this question.