Maya Xray Object
Hi I would like to share his tutorial about xray object in maya, just click on the youtube play button for you to view the tutorial.
DONT FORGET TO SUBSCRIBE TO HIS CHANNEL TOO!
<MAYA SCRIPT FROM HIS TUTORIAL BELOW>
MEL Script (just copy&paste) string $sel[]; int $temp[]; int $value; $sel = `ls -sl -dag -ap -typ surfaceShape`; for ($obj in $sel){ $temp = `displaySurface -q -xRay $obj`; $value=$temp[0]; if($value==1) displaySurface -xRay 0 $obj; else displaySurface -xRay 1 $obj; };
DONT FORGET TO SUBSCRIBE TO HIS CHANNEL TOO!
<MAYA SCRIPT FROM HIS TUTORIAL BELOW>
MEL Script (just copy&paste) string $sel[]; int $temp[]; int $value; $sel = `ls -sl -dag -ap -typ surfaceShape`; for ($obj in $sel){ $temp = `displaySurface -q -xRay $obj`; $value=$temp[0]; if($value==1) displaySurface -xRay 0 $obj; else displaySurface -xRay 1 $obj; };