Ive finally decided to get into scripting in maya but having some newby
difficulties with how to set attributes if someone could help me out.
after creating an area light i cant seem to define its attributes such as decay and intensity. Are they in an array or something or how do I access that data?
thanks
this obviously doesnt work putting the intensity it in a setAttr or as a shading node attribute
from maya import cmds as mc
mc.shadingNode ('areaLight', asLight=True,n='keyArea')
mc.move(0,21,0)
mc.rotate(-90,0,0)
mc.scale(10,10,10)
mc.setAttr(intensity='2')