Animasta
09-11-2009, 01:33 AM
First off, I am by no means a programmer (literally, the furthest I got was 'hello world'), but I am wanting a quick and easy way of toggling Xray on/off on objects I'm working on. So far I've succeeded, but using two different mel scripts.
displaySurface -x 1; -turns xray on for selected object/surface
displaySurface -x 0; -turns xray off for selected object/surface
I was wondering if anyone could help me group these together so that I only need one button to press.
Any help is appreciated :)
displaySurface -x 1; -turns xray on for selected object/surface
displaySurface -x 0; -turns xray off for selected object/surface
I was wondering if anyone could help me group these together so that I only need one button to press.
Any help is appreciated :)
