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
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;
}
in maya bonus tools -> modeling you can select every Nth edge loop/ring. Love your videos so informative thank you!
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!
Quickly becoming my favourite maya channel keep it up!
Will do, appreciate the kind words!
Excellent tips! Showed me how much i've been forgetting on Maya's powerful tools. Will definitely help my workflow. Thank you.
Very helpful! Thanks!
Glad it was helpful!
Wow I love your tutorial
Glad you enjoyed it, thank you!
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
Glad you found this helpful!
Great video!
Glad you enjoyed it
Thank you for the tips! Could you possibly provide the custom scripts please?
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;
}
Thx for tips about crtl+mmb, didnt know that.
No problem, happy to share!
Nice work! You might make it interactive and put on the web.
That's a good idea! I may add it to my Sketchfab account!
@@OnMars3D You can do it with this, for example www.soft8soft.com/3dweb/67/