This is a simple Script that toggles ON and OFF the wireframe shade on shaded objects in 4 viewports.
// I wrote this script because sometimes i needed to see the wireframe on shaded objects in the display.
// It works like the shortcut key F4 in 3ds max, and applied this script to the key F4.so i am fine when i am in 3ds max also :)
// This script will only toggle the displays from 1 to 4, you can add more if you can understand a little bit coding
//
// INSTALLATION INSTRUCTIONS:
// The way i prefer using this is binding the script with a hotkey. So with one keypress one can toggle the shading.
// Or if one prefers it to stay in the shelf:
// Simply Copy the contents of "toggle_wireframe_on_shaded_vxx.txt" and paste it into the Script Editor in Maya.
// then select all again and Middle-Mouse drag the selection to the self you chose.
// So you can easily toogle the toggle_wireframe_on_shaded on an off.
//
// ADDITIONAL INFORMATION:
// This script may be freely distributed in its unmodified form!
//
// AUTHOR:
// Gokhan Ertem
// LAMA Productions
// gokhan@lamaproductions.com
// http://www.lamaproductions.com
//
// COPYRIGHT: Gokhan Ertem