Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Toll in shelf ? (https://simplymaya.com/forum/showthread.php?t=25740)

ColdWave 03-04-2007 07:11 PM

Toll in shelf ?
 
I forgot what i've clicked to get tool in my shelf :
I added additional shelf where i placed my modeling tools but i now want to place there X-ray but what was the combination with keys to get it on my shelf ?

severinianthony 03-04-2007 07:13 PM

Hold Ctrl + Shift before you click on the tool you want to go onto your toolshelf.

However, I don't think that will work for the x-ray thingymabob. There is a script for that; I don't have it, but other users most likely will.

ColdWave 03-04-2007 07:15 PM

yeah i get used to clicl ctrl + shift and didn't work so i wonder about the combination of butons ... anyone have the script ?

severinianthony 03-04-2007 07:21 PM

http://www.highend3d.com/maya/downlo...misc/3507.html

That's an external script, but I'm sure it has the same effect.

ColdWave 03-04-2007 07:25 PM

i installed one script in my maya MJpolysplit and i forgot the command now ... :headbang: some help ?

severinianthony 03-04-2007 07:31 PM

If you downloaded that script, open it up with word pad, text pad, or some other text-editing program.

Copy everything.

In maya, open your script editor, and paste the script.

Select it all (in the script editor), and middle-mouse-drag it up to your toolshelf.

Select whatever you want to be x-ray-ed, and click the MEL script shelf-button you just created.

Enjoy :D

jsprogg 03-04-2007 07:36 PM

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

ColdWave 03-04-2007 07:36 PM

:beer:

Perfecto 04-04-2007 01:34 AM

Thanks jsprogg. I also copied the script and added it to my shelf.

Frontierz 05-04-2007 11:55 PM

Thanks jsprogg.


All times are GMT. The time now is 02:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018