I was a 3dsmax user before and kinda missed this functionality of creating new camera from selected view,This is feature already exist in 3DS max. [Create> Camera > from Selected View ]The script can be used in combination with ALT or CTRL or CTRL + SHIFT too, All values of existing view camera are copied to new camera and the old camera moves back to show new camera. Insert the line below in your
buildPanelPopupMenu.mel which is located
at this location:
C:\Program Files\Autodesk\MayaXXXX\scripts\others [where XXXX is replaced by version of maya]
Look for the code below in the file
buildPanelPopupMenu.mel [line number 312]
$menu = `menuItem -label (uiRes("m_buildPanelPopupMenu.kOrthographic")) -subMenu true`; menuItem -e -postMenuCommand ("buildOrthoLookthruMenu "+$menu+" "+$panelName) $menu; setParent -m ..;after the above code insert this code at line number 315(incase of Maya 2013)
$menu = `menuItem -l "Create Camera from Selected View" -c "selViewCamera()" -subMenu false`; adding the above code will give you a menu item to perform the operation
let me know if you have to say something about it.Any kind of comments or critiques ...I would love to hear from you.