Creating a Render Layer and Adding Some
Objects
To create a render layer we simply need to use the createRenderLayer
mel command. To add objects into the layer we simply need to
select the objects and then call layerEditorAddObjects
specifying the name of the layer we want to add them to.