Thread: Toll in shelf ?
View Single Post
# 7 03-04-2007 , 07:36 PM
jsprogg's Avatar
Lifetime Member
Join Date: Feb 2004
Location: Chicago
Posts: 1,712
copy and paste this into the script editor

global proc toggleXray()
{

$currentPanel = `getPanel -withFocus`;
$state = `modelEditor -q -xray $currentPanel`;
modelEditor -edit -xray (!$state) $currentPanel;

}

highlight it all then middle mouse drag it to your shelf