Custom Hotkeys in Maya

Опубликовано: 30 Сентябрь 2024
на канале: Josh Antonio
21,472
317

Work faster in Autodesk Maya by automating repetitive tasks by making them easy to access hotkeys.

Wireframe:
string $selectedPanel = `getPanel -wf`;
int $shadedWireState = `modelEditor -q -wos $selectedPanel`;
if(`modelEditor -ex $selectedPanel`)
{
setWireframeOnShadedOption (!$shadedWireState) $selectedPanel;
}

Xray:
// get last panel that recieved focus
string $panel = `getPanel -wf`;
// toggle xray mode
modelEditor -e -xray ( !`modelEditor -q -xray $panel` ) $panel;

Edgeloop & Delete:
polySelectSp -loop; performPolyDeleteElements;

Grid toggle:
optionVar -intValue showGrid (!`optionVar -query showGrid`); grid -toggle (`optionVar -query showGrid`);
.......................................................................................

► Click Here To Subscribe: http://bit.ly/sub2joshvfx

● Instagram: http://bit.ly/joshvfx_insta
● Facebook: http://bit.ly/joshvfx_fb
● Google+: http://bit.ly/joshvfx_gplus
● Website: http://bit.ly/joshvfx_portfolio
● Snapchat: joshoantonio
.......................................................................................

If you're reading this, make sure to click the thumbs up button because it makes me smile!

Thanks for watching! (◕‿-)