This tool makes it possible to switch between cameras in 1 click or toggling between perspective cameras with a hotkey.
There are 2 modes: (see images)
- A window that lists all cameras in your scene. When clicking one of them, your active panel will swithc to that camera.
- A toggle button to switch between all perspective cameras. (swithces in the active panel).
In the RMB menu you can find a print to ScriptEditor option to copy/paste that code to a hotkey (runtime command).
Also you have the option to change the toggle function to only toggle between 2 cameras; the persp & any chosen camera. You can assign a camera by selecting one from the given list.
If you want to revert the function to be able to toggle between all perpsective cameras again, simply remove the asssigned camera in the menu options.
Paste the MEL files in your Maya scripts forlder: C:\Users\?User?\Documents\maya\?version?\scripts
and run these MEL lines inside Maya:
-> hotkey function to toggle between perspective cameras: svm_camSwitcher_persp();
(you can make a shelf button for these)
Or put the files in any location and source them with a button, but don't forget the commands
To remove the tool out of your maya, simply delete the files.
Stijn Vande Maele,
3D Character Animator
If you like the tool and want to buy me a beer :)