Usage: connect a cameraShape.message with affects.inputCamera e.g.: createNode affects; connectAttr perspShape.message affects1.inputCamera.