Adverti horiz upsell

Create Camera from Selected View 1.1.1 for Maya (maya script)

Creates Camera from selected camera view

License
Button download
2,929 Downloads

Compatibility

  • 2013, 2012, 2011, 2010, 9.x, 2009, 2008, 8.x, 7.x

Operating Systems

  • Windows

History

Created:10/24/2008
Last Modified:08/01/2012
File Size: 2.11 KB
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

menuitme


let me know if you have to say something about it.Any kind of comments or critiques ...
I would love to hear from you.




Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Changbae Kang
    Changbae Kang
  • elviocb
    elviocb
  • mejker
    mejker
  • Alex Kohout
    Alex Kohout
  • hiroshi sato
    hiroshi sato
  • xtvjxk
    xtvjxk
  • koloss
    koloss
  • chucko
    chucko