Light Rig Camera Script

#lr_camera.py
  
import maya.cmds as cmds
import maya.mel as mel
import os
import math
  
#---------------------------------------------------------------------------------
#Create a Render Camera
def CreateCamera ():
    cmds.camera ()
    newName = cmds.rename ('camera1', 'Render_Cam')
    cmds.setAttr(newName + ".translateX",13.025)
    cmds.setAttr(newName + ".translateY",4.500)
    cmds.setAttr(newName + ".translateZ",14.125)
    cmds.setAttr(newName + ".rotateX",0.262)
    cmds.setAttr(newName + ".rotateY",48.600)
#---------------------------------------------------------------------------------
#Delete the Render Camera
def DeleteCamera ():
    cmds.delete('Render_Cam')
#---------------------------------------------------------------------------------