Software:
Blender 2.79
- Create a camera.
- Press Ctrl + Alt + 0.
Note:
This command will align the Scene’s Active Camera to the view,
And not the camera that is selected as the Active Object.
To make the selected camera the active camera:
In the 3D View select:
View > Cameras > Set Active Object as Camera