Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting aiDomelight Camera to 0 in Python Command? any Idea?

2 REPLIES 2
Reply
Message 1 of 3
ephsepeej
177 Views, 2 Replies

Setting aiDomelight Camera to 0 in Python Command? any Idea?

 
Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3
Stephen.Blair
in reply to: ephsepeej

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 )




// Stephen Blair
// Arnold Renderer Support
Message 3 of 3
ephsepeej
in reply to: Stephen.Blair

Thanks Dude!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report