Jrb_toggle Script
This script will toggle a lot of different stuff. You can use it for Marking menus, shelves and/or shortcut keys to improve your workflow. At the moment you can toggle X-Ray, Isolate Select, Backface Culling, soft Edges Display, Channel Box, Border Edges, UV Edges, Modeling Symmetry and Tweak Mode.
A lot of these things can already be accessed through the regular UI, but the idea is to gather the most common toggleable states in one script, so you can access them through one command. Once the script has been sourced you can simply use the command jrb_toggle to toggle the different states. Here is a list of all the variables that the command takes.
jrb_toggle "xRay
jrb_toggle "wireframe"
jrb_toggle "isolate"
jrb_toggle "culling"
jrb_toggle "softHardEdges"
jrb_toggle "normals"
jrb_toggle "channelbox"
jrb_toggle "borderEdges"
jrb_toggle "UVEdges"
jrb_toggle "symmetry"
jrb_toggle "tweak"
To install:
Put “jrb_toggle.mel” in your script folder (e.g. C:\Documents and Settings\Bob\Maya\Scripts)
I have also included a shelf that has all the toggle items in it. If you want to use it then copy “shelf_jrb_toggle.mel” to your shelf folder (e.g. C:\Documents and Settings\Bob\Maya\2010\prefs\shelves)
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.