Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Maya keeps switching shelf icons language on restart

Maya keeps switching shelf icons language on restart

The-Digital-Shaman
Advocate Advocate
342 Views
2 Replies
Message 1 of 3

Maya keeps switching shelf icons language on restart

The-Digital-Shaman
Advocate
Advocate

Hi there,

 

Maya keeps switching language for some of the custom scripts that I acquired.

What the hell?

 

In Shelf Editors for each command, one can choose MEL or Python as the Language.

 

For some scripts, Maya keeps changing it every single time.

I even tried recreate the icons.

 

 

Does anyone have an experience with that?

 

Btw, it is not Maya LT.

 

Cheers,

DS

0 Likes
Accepted solutions (1)
343 Views
2 Replies
Replies (2)
Message 2 of 3

The-Digital-Shaman
Advocate
Advocate

I think I just discovered a silly Maya's limitation.

 

One can't use two different languages for single and double click.

 

Is that so?

0 Likes
Message 3 of 3

The-Digital-Shaman
Advocate
Advocate
Accepted solution

Ok, one can do workaround by wrapping and sourcing a script from another language quite easily.

 

i.e. To run MEL script as Python;

 

import maya.mel as mel

mel.eval('source "DS/DS_Display_Toolkit.mel"')

0 Likes