I’m trying to write a little script in mel for toggle SafeAction, SafeTitle, FilmOrigin, GateMask, ResolutionGate for selected camera.
I get the code from maya like this :
// For TurnOn //
camera -e -displaySafeAction on persp;
camera -e -displaySafeTitle on persp;
camera -e -displayFilmOrigin on persp;
camera -e -displayGateMask on persp;
camera -e -displayFilmGate off -displayResolution on -overscan 1.3 persp;// For TurnOff //
camera -e -displaySafeAction off persp;
camera -e -displaySafeTitle off persp;
camera -e -displayFilmOrigin off persp;
camera -e -displayGateMask off persp;
camera -e -displayFilmGate off -displayResolution off -overscan 1.3 persp;
But i do no how put all into one script and make it possible. So i need help from u guys.