Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 12-10-2005, 08:56 PM   #1
kiwi_bacon
Registered User
 
Join Date: Jan 2005
Location: New Zealand
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default having trouble making x-ray hotkey

Hi all,

I cant seem to find the x-ray category under lighting and shading in the hotkey prefrence editor.

Then I looking through all the categorys.........and still no luck, i guessing I just cant see it even though its there.

Can some please help

Thanks
__________________
mmmmm........delicious
kiwi_bacon is offline   Reply With Quote
Old 12-10-2005, 09:41 PM   #2
portermalone
Subscriber
 
Join Date: May 2005
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You have to create that hot key with MEL script. If you look in the download section of SM you will find the code for that hot key(or you can search the internet). But either way you'll have to make (or find on the internet) a hot key label because the default labek will just read MEL ( i.e. instead of a colored pictured icon)
portermalone is offline   Reply With Quote
Old 12-10-2005, 10:09 PM   #3
kiwi_bacon
Registered User
 
Join Date: Jan 2005
Location: New Zealand
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks porter for your help,

ok ive downloaded the x-ray file (im kinda new to this so bare with me) but where do i put the file and how do i get it on my self so i can use it??

please help

Thanks
__________________
mmmmm........delicious
kiwi_bacon is offline   Reply With Quote
Old 13-10-2005, 06:07 AM   #4
kiwi_bacon
Registered User
 
Join Date: Jan 2005
Location: New Zealand
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Was looking in the wrong place.

But I found the answer to my question, by searching under mel scripts, dannyngan website had a scirpt that works.

I tried the simply maya one but couldnt get it to work.
__________________
mmmmm........delicious
kiwi_bacon is offline   Reply With Quote
Old 13-10-2005, 08:51 AM   #5
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

a general way to find out yourself would be to look into the Script Editor. first goto Edit and choose Clear All to have all nice and clean. then you check under the Script tab -> Echo All Commands. Script Editor would show something like -

editMenuUpdate MayaWindow|mainEditMenu;

next you toggle on X-Ray in the shading tab. Script Editor will show something like -

modelEditor -e -xray 1 modelPanel4;
// Result: modelPanel4 //
editMenuUpdate MayaWindow|mainEditMenu;

if toggled off -

modelEditor -e -xray 0 modelPanel4;
// Result: modelPanel4 //
editMenuUpdate MayaWindow|mainEditMenu;


important for you would be 2 lines of mel-

modelEditor -e -xray 1 modelPanel4;
modelEditor -e -xray 0 modelPanel4;

1st line = 1 = on
2nd line = 0 = off

just copy both lines to the shelf and you have created your own buttons within a minute. you could also create a marking menu and throw those little buttons into. use the sript Editor! it can save you tons of time for simple stuff like that.
__________________
everything starts and ends in the right place at the right time.

Last edited by Falott : 13-10-2005 at 08:55 AM.
Falott is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.