Returns the Light object of this rig.
set oRoot = application.activeproject.activescene.root set rig = oRoot.addlightrig( "Spot" ) Application.LogMessage rig & ".light = " & rig.light Application.LogMessage rig.light & ".interest = " & rig.light.interest |