Scripts used in the video (make sure to save these as MEL scripts) as well as updated for Maya 2022 : ---------------------------------------------------------------------- Maya 2022 X-Ray Toggle Script: ---------------------------------------------------------------------- // get last panel that recieved focus string $panel = `getPanel -wf`; // toggle xray mode modelEditor -e -xray ( !`modelEditor -q -xray $panel` ) $panel; ---------------------------------------------------------------------- Maya 2022 Wireframe Toggle Script: ---------------------------------------------------------------------- string $selectedPanel = `getPanel -wf`; int $shadedWireState = `modelEditor -q -wos $selectedPanel`; if(`modelEditor -ex $selectedPanel`) { setWireframeOnShadedOption (!$shadedWireState) $selectedPanel; } ----------------------------------- X-Ray Toggle Script: ----------------------------------- // Toggle Xray // string $visPanel[]=`getPanel -vis`; int $mode; if (size($visPanel)>0) { for ($panel in $visPanel) { if (`match "^modelPanel" $panel`=="modelPanel") { $mode=`modelEditor -q -xray $panel`; if ($mode>0) modelEditor -e -xray 0 $panel; else modelEditor -e -xray 1 $panel; } } print (" xray="+$mode+"."); } else print (" No model panels to modify."); ------------------------------------------------------------ Wireframe on Shaded Toggle Script: ------------------------------------------------------------ // Toggle Wireframe on Shaded // { string $currentPanel = `getPanel -underPointer`; $WOS = `modelEditor -q -wos $currentPanel`; if ($WOS == 0) { setWireframeOnShadedOption 1 $currentPanel; } else { setWireframeOnShadedOption 0 $currentPanel; }
@uncreativelamename12 жыл бұрын
in maya bonus tools -> modeling you can select every Nth edge loop/ring. Love your videos so informative thank you!
@OnMars3D2 жыл бұрын
No problem. I didn't have it installed when I made this video but I recently installed it, tons of great features in bonus tools!
@iCamSkiEz4 жыл бұрын
Quickly becoming my favourite maya channel keep it up!
@OnMars3D4 жыл бұрын
Will do, appreciate the kind words!
@GrumpBurger3 жыл бұрын
Excellent tips! Showed me how much i've been forgetting on Maya's powerful tools. Will definitely help my workflow. Thank you.
@cauanorbiato17132 жыл бұрын
Very helpful! Thanks!
@OnMars3D2 жыл бұрын
Glad it was helpful!
@orfeasantoulinakis98564 жыл бұрын
Thank you for the tips! Could you possibly provide the custom scripts please?
@OnMars3D4 жыл бұрын
Sure thing, here you go! (make sure to save these as MEL scripts) ----------------------------------- X-Ray Toggle Script: ----------------------------------- // Toggle Xray // string $visPanel[]=`getPanel -vis`; int $mode; if (size($visPanel)>0) { for ($panel in $visPanel) { if (`match "^modelPanel" $panel`=="modelPanel") { $mode=`modelEditor -q -xray $panel`; if ($mode>0) modelEditor -e -xray 0 $panel; else modelEditor -e -xray 1 $panel; } } print (" xray="+$mode+"."); } else print (" No model panels to modify."); ------------------------------------------------------------ Wireframe on Shaded Toggle Script: ------------------------------------------------------------ // Toggle Wireframe on Shaded // { string $currentPanel = `getPanel -underPointer`; $WOS = `modelEditor -q -wos $currentPanel`; if ($WOS == 0) { setWireframeOnShadedOption 1 $currentPanel; } else { setWireframeOnShadedOption 0 $currentPanel; }
@alloedee3 жыл бұрын
Thx for tips about crtl+mmb, didnt know that.
@OnMars3D3 жыл бұрын
No problem, happy to share!
@abhinavtomar84934 жыл бұрын
Wow I love your tutorial
@OnMars3D4 жыл бұрын
Glad you enjoyed it, thank you!
@JoshAntonio4 жыл бұрын
Great video!
@OnMars3D4 жыл бұрын
Glad you enjoyed it
@hitmangamesyndicate59703 жыл бұрын
Great video... and awesome tips... I love my hotkeys and shortcuts... its honestly the reason that I pay for LT and didnt succumb to the Blender conundrum... (no offense to you blender guru's) now I have even more to add to the ole arsenal... Ill be watching all of your videos for the future
@OnMars3D3 жыл бұрын
Glad you found this helpful!
@asyakowel90694 жыл бұрын
Nice work! You might make it interactive and put on the web.
@OnMars3D4 жыл бұрын
That's a good idea! I may add it to my Sketchfab account!
@asyakowel90694 жыл бұрын
@@OnMars3D You can do it with this, for example www.soft8soft.com/3dweb/67/