How to get around default runtime commands

69 views
Skip to first unread message

bobrobertuma

unread,
Feb 1, 2021, 1:17:37 PM2/1/21
to maya...@googlegroups.com

I’ve just learned that you cannot edit maya default runtime commands.  Anyone know a way to get around this?  I would like the default keys for 1 2 3 to be more useful.  At first I just made my own runtime commands but then realize in other windows and editors the defaults no longer work e.g. if you re-assign 1 2 or 3 to your own but same runtime commands.

 

https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2020/ENU/Maya-Customizing/files/GUID-2B2BE446-D622-4274-80FC-2A5EF7D87C5C-htm.html

 

“Note: You cannot modify any Maya default runtime commands.”

 

 

Default Maya runtime commands:

LowQualityDisplay

Mel: setDisplaySmoothness 1

 

MediumQualityDisplay

Mel: setDisplaySmoothness 2

 

HighQualityDisplay

Mel: setDisplaySmoothness 3

 

Preferred 1 :

setDisplaySmoothness 1;

displayPref -wsa "full";

 

Preferred 2:

setDisplaySmoothness 2;

displayPref -wsa "none";

 

Preferred 3:

setDisplaySmoothness 3;

displayPref -wsa "none";

 

Which works of course by re-assigning to a new runtime command I create but then in the hypershade for instance I can no longer toggle shader nodes from flat, open and fully open etc. with default 1 2 3 keys.  I’ve searched the maya install folder for these commands wondering if they exist in runtime commands.mel type setup somewhere but haven’t found anything.

 

Thanks for taking a look!

 

Jason

 

Reply all
Reply to author
Forward
0 new messages