I’m new to learning python scripting in Blender (new to Blender for that matter) and I couldn’t find this in the 2.57 API release. I have a scene set up with a lamp and was trying to match that scene in the Python Console
bpy.ops.object.lamp_add(type=‘SPOT’, location=(-2.295, -1.266, 2.640), rotation=(64.13,0,-61.071))
the location looks the same the rotation is off
Do I need to somehow define the rotational units before I add a lamp?
thanks in advance